Grizzly.ZWave.CommandClasses.Clock (grizzly v0.15.7) View Source

"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

Specs

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

Link to this section Functions

Specs

decode_weekday(byte()) ::
  {:ok, weekday()}
  | {:error,
     %Grizzly.ZWave.DecodeError{
       __exception__: term(),
       command: term(),
       param: term(),
       value: term()
     }}

Specs

encode_weekday(weekday()) :: byte()