grizzly v0.8.7 Grizzly.CommandClass.SwitchMultilevel View Source
Link to this section Summary
Link to this section Types
Link to this type
switch_state()
View Source
switch_state()
View Source
switch_state() :: :previous | :off | byte()
switch_state() :: :previous | :off | byte()
Link to this section Functions
Link to this function
decode_switch_state(value) View Source
Link to this function
encode_switch_state(value)
View Source
encode_switch_state(value)
View Source
encode_switch_state(switch_state()) ::
{:ok, byte()} | {:error, :invalid_arg, any()}
encode_switch_state(switch_state()) :: {:ok, byte()} | {:error, :invalid_arg, any()}