grizzly v0.4.2 Grizzly.CommandClass.ThermostatSetpoint View Source
Module for generating the thermostat setpoint command
Link to this section Summary
Link to this section Types
Link to this type
setpoint_type()
View Source
setpoint_type()
View Source
setpoint_type() :: :cooling | :heating | byte()
setpoint_type() :: :cooling | :heating | byte()
Type for the different setpoint types.
Possible to send raw byte for a different setpoint type if
needed. Otherwise, :cooling
and :heating
atoms are the
explicitly supported setpoint types.
Link to this type
setpoint_value()
View Source
setpoint_value()
View Source
setpoint_value() :: non_neg_integer()
setpoint_value() :: non_neg_integer()
Link to this section Functions
Link to this function
decode_setpoint_type(byte)
View Source
decode_setpoint_type(byte)
View Source
decode_setpoint_type(byte()) :: setpoint_type()
decode_setpoint_type(byte()) :: setpoint_type()
Link to this function
encode_setpoint_type(byte)
View Source
encode_setpoint_type(byte)
View Source
encode_setpoint_type(setpoint_type()) :: byte()
encode_setpoint_type(setpoint_type()) :: byte()
Link to this function