Grizzly.ZWave.CommandClasses.ThermostatMode (grizzly v0.15.8) View Source

"ThermostatMode" Command Class

The Thermostat Mode Command Class is used to control which mode a thermostat operates.

Link to this section Summary

Link to this section Types

Specs

mode() ::
  :off
  | :heat
  | :cool
  | :auto
  | :auxiliary
  | :resume_on
  | :fan
  | :furnace
  | :dry
  | :moist
  | :auto_changeover
  | :energy_heat
  | :energy_cool
  | :away
  | :full_power
  | :manufacturer_specific

Link to this section Functions

Specs

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

Specs

encode_mode(mode()) :: byte()