Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an Action Switch endpoint to all-clusters-app #34355

Merged
merged 10 commits into from
Jul 17, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -9265,6 +9265,48 @@ endpoint 2 {
ram attribute clusterRevision default = 4;
}
}
endpoint 3 {
device type ma_genericswitch = 15, version 3;


server cluster Identify {
ram attribute identifyTime default = 0x0000;
ram attribute identifyType default = 0x00;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 4;

handle command Identify;
handle command TriggerEffect;
}

server cluster Descriptor {
callback attribute deviceTypeList;
callback attribute serverList;
callback attribute clientList;
callback attribute partsList;
callback attribute tagList;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
callback attribute featureMap;
callback attribute clusterRevision;
}

server cluster Switch {
emits event InitialPress;
emits event LongPress;
emits event LongRelease;
emits event MultiPressComplete;
ram attribute numberOfPositions default = 2;
ram attribute currentPosition default = 0;
ram attribute multiPressMax default = 3;
ram attribute featureMap default = 58;
ram attribute clusterRevision default = 2;
}
}
endpoint 65534 {
device type ma_secondary_network_interface = 25, version 1;

Expand Down
Loading
Loading