Grizzly.ZWave.CommandClasses.SwitchSupport (grizzly v8.8.0)
View SourceSupport for Switch Binary and Switch Multilevel Command Classes
Summary
Functions
Decode a duration from a byte according to the Z-Wave specs
Encode a duration into a byte according to the Z-Wave specs
Types
Functions
@spec duration_from_byte(byte()) :: {:error, Grizzly.ZWave.DecodeError.t()} | {:ok, duration()}
Decode a duration from a byte according to the Z-Wave specs
Encode a duration into a byte according to the Z-Wave specs