View Source Grizzly.ZWave.CommandClasses.ThermostatOperatingState (grizzly v8.6.6)

"ThermostatOperatingState" Command Class

The Thermostat Operating State Command Class is used to obtain the operating state of the thermostat.

Summary

Types

state()

@type state() ::
  :idle
  | :heating
  | :cooling
  | :fan_only
  | :pending_heat
  | :pending_cool
  | :vent_economizer
  | :aux_heating
  | :heating_stage_2
  | :cooling_stage_2
  | :aux_heat_stage_2
  | :aux_heat_stage_3

Functions

decode_state(byte)

@spec decode_state(byte()) :: {:ok, state()} | {:error, Grizzly.ZWave.DecodeError.t()}

encode_state(atom)

@spec encode_state(state()) :: byte()