You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add on-off command handlers for fan control
* Disallow step when fan is Off
* Add On/Off cluster to fan device
* Fix compilation bugs
* Fix compilation bugs
* Fix compilation bugs
* Handle onOff event in MatterPostAttributeChangeCallback since emberAFCommandHandler callbacks are already defined
* Fix compilation
* Fix compilation
* Fix compilation
* Fix unreachable code.
* Remove hard checks on on-off to prevent tests from breaking
* On command should set Fan to HIGH
* Set default OnOff state to Off to match default fanMode
/** On receipt of this command, a device SHALL enter its ‘Off’ state. This state is device dependent, but it is recommended that it is used for power off or similar functions. On receipt of the Off command, the OnTime attribute SHALL be set to 0. */
430
+
command Off(): DefaultSuccess = 0;
431
+
/** On receipt of this command, a device SHALL enter its ‘On’ state. This state is device dependent, but it is recommended that it is used for power on or similar functions. On receipt of the On command, if the value of the OnTime attribute is equal to 0, the device SHALL set the OffWaitTime attribute to 0. */
432
+
command On(): DefaultSuccess = 1;
433
+
/** On receipt of this command, if a device is in its ‘Off’ state it SHALL enter its ‘On’ state. Otherwise, if it is in its ‘On’ state it SHALL enter its ‘Off’ state. On receipt of the Toggle command, if the value of the OnOff attribute is equal to FALSE and if the value of the OnTime attribute is equal to 0, the device SHALL set the OffWaitTime attribute to 0. If the value of the OnOff attribute is equal to TRUE, the OnTime attribute SHALL be set to 0. */
434
+
command Toggle(): DefaultSuccess = 2;
435
+
/** The OffWithEffect command allows devices to be turned off using enhanced ways of fading. */
/** The OnWithTimedOff command allows devices to be turned on for a specific duration with a guarded off duration so that SHOULD the device be subsequently switched off, further OnWithTimedOff commands, received during this time, are prevented from turning the devices back on. */
0 commit comments