grizzly v0.5.0 Grizzly.CommandClass.ThermostatFanMode View Source

Link to this section Summary

Link to this section Types

Link to this type

fan_mode_byte() View Source
fan_mode_byte() :: 0..10

Link to this type

thermostat_fan_mode() View Source
thermostat_fan_mode() ::
  :auto_low
  | :low
  | :auto_high
  | :high
  | :auto_medium
  | :medium
  | :circulation
  | :humidity_circulation
  | :left_right
  | :up_down
  | :quiet

Link to this section Functions

Link to this function

decode_thermostat_fan_mode(int) View Source
decode_thermostat_fan_mode(fan_mode_byte()) :: thermostat_fan_mode()

Link to this function

encode_thermostat_fan_mode(other) View Source
encode_thermostat_fan_mode(thermostat_fan_mode()) ::
  {:ok, fan_mode_byte()} | {:error, :invalid_arg, any()}