grizzly v0.4.2 Grizzly.CommandClass.SwitchBinary View Source

Link to this section Summary

Link to this section Types

Link to this type

switch_state() View Source
switch_state() :: :on | :off

Link to this type

switch_state_byte() View Source
switch_state_byte() :: 0 | 255

Link to this section Functions

Link to this function

encode_switch_state(atom) View Source
encode_switch_state(switch_state()) :: switch_state_byte()