View Source Grizzly.ZWave.CommandClasses.ThermostatMode (grizzly v7.4.2)

"ThermostatMode" Command Class

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

Summary

Types

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

Functions

@spec decode_mode(byte()) :: {:ok, mode()} | {:error, Grizzly.ZWave.DecodeError.t()}
@spec encode_mode(mode()) :: byte()