View Source Grizzly.ZWave.CommandClasses.Clock (grizzly v7.4.0)

"Clock" Command Class

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

Summary

Types

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

Functions

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