grizzly v0.6.4 Grizzly.CommandClass.ThermostatSetback View Source

Module for generating the thermostat setback command

Link to this section Summary

Types

Type for the different setback types.

Link to this section Types

Link to this type

setback_state() View Source
setback_state() :: :frost_protection | :energy_saving_mode | integer()

Link to this type

setback_type() View Source
setback_type() :: :no_override | :temporary_override | :permanent_override

Type for the different setback types.

Link to this section Functions

Link to this function

decode_setback_state(val) View Source
decode_setback_state(byte()) :: setback_state()

Link to this function

decode_setback_type(byte) View Source
decode_setback_type(byte()) :: setback_type()

Link to this function

encode_setback_state(state) View Source
encode_setback_state(setback_state()) ::
  {:ok, byte()} | {:error, :invalid_arg, any()}

Link to this function

encode_setback_type(byte) View Source
encode_setback_type(setback_type()) ::
  {:ok, byte()} | {:error, :invalid_arg, any()}