Skip to content

Commit

Permalink
Reenable power source config cluster on all clusters (#28764)
Browse files Browse the repository at this point in the history
* Do nothing but open in zaptool and save

* Do nothing but enable the power source config cluster

* zap_regen_all

* Add cluster back to test
  • Loading branch information
cecille authored and pull[bot] committed Jan 8, 2024
1 parent 9caa441 commit 7e75720
Show file tree
Hide file tree
Showing 5 changed files with 173 additions and 152 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,17 @@ server cluster UnitLocalization = 45 {
readonly attribute int16u clusterRevision = 65533;
}

/** This cluster is used to describe the configuration and capabilities of a Device's power system. */
server cluster PowerSourceConfiguration = 46 {
readonly attribute INT8U sources[] = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

/** This cluster is used to describe the configuration and capabilities of a physical power source that provides power to the Node. */
server cluster PowerSource = 47 {
enum BatApprovedChemistryEnum : ENUM16 {
Expand Down Expand Up @@ -6200,6 +6211,12 @@ endpoint 0 {
ram attribute clusterRevision default = 1;
}

server cluster PowerSourceConfiguration {
callback attribute sources;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
}

server cluster PowerSource {
ram attribute status default = 0;
ram attribute order default = 3;
Expand Down
Loading

0 comments on commit 7e75720

Please sign in to comment.