Grizzly.ZWave.CommandClasses.ThermostatSetpoint (grizzly v0.22.3) View Source

"ThermostatSetpoint" Command Class

The Thermostat Setpoint Command Class is used to configure setpoints for the modes supported by a thermostat.

What type of commands does this command class support?

Link to this section Summary

Link to this section Types

Specs

scale() :: :celsius | :fahrenheit

Specs

type() ::
  :na
  | :heating
  | :cooling
  | :furnace
  | :dry_air
  | :moist_air
  | :auto_changeover

Link to this section Functions

Specs

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

Specs

decode_type(byte()) :: type()

Specs

encode_scale(scale()) :: byte()

Specs

encode_type(type()) :: byte()