View Source Grizzly.ZWave.CommandClasses.Clock (grizzly v6.6.1)

"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
  | :unknown

Link to this section Functions

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