View Source Grizzly.ZWave.CommandClasses.Clock (grizzly v4.0.0)

"Clock" Command Class

The Clock Command Class is used to implement a simple clock functionality.

Link to this section Summary

Link to this section Types

@type weekday() ::
  :sunday | :monday | :tuesday | :wednesday | :thursday | :friday | :saturday

Link to this section Functions

@spec decode_weekday(byte()) ::
  {:ok, weekday()} | {:error, Grizzly.ZWave.DecodeError.t()}
@spec encode_weekday(weekday()) :: byte()