Grizzly.ZWave.Commands.SwitchBinaryReport (grizzly v8.8.0)
View SourceModule for the SWITCH_BINARY_REPORT command
Params:
:target_value
-:on
,:off
, or:unknown
(required):current_value
-:on
,:off
, or:unknown
(required V2):duration
- How long in seconds the switch should take to reach target value or the factory default (:default)Beyond 127 seconds, the duration is truncated to the minute. E.g. 179s is 2 minutes and 180s is 3 minutes (required V2)
Summary
Types
@type param() :: {:target_value, value()} | {:duration, Grizzly.ZWave.CommandClasses.SwitchSupport.duration()} | {:current_value, value()}
@type value() :: :on | :off | :unknown