Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FanSpeed ¶
type FanSpeed string
FanSpeed describes a speed at which the fan can run at
const ( // FanSpeedAuto will make the A/C determine what speed the fan should run at automatically FanSpeedAuto FanSpeed = "AUTO" // FanSpeedQuiet is the lowest fan speed (1/4) FanSpeedQuiet FanSpeed = "QUIET" // FanSpeedLow is the second lowest fan speed (2/4) FanSpeedLow FanSpeed = "LOW" // FanSpeedMedium is the second highest fan speed (3/4) FanSpeedMedium FanSpeed = "MEDIUM" // FanSpeedHigh is the highest fan speed (4/4) FanSpeedHigh FanSpeed = "HIGH" )
type State ¶
type State struct { // PoweredOn is true if the thermostat is on PoweredOn bool `json:"powered_on"` // CurrentMode is the current mode the thermostat is in CurrentMode Mode `json:"current_mode"` // FanSpeed is the current fan speed FanSpeed FanSpeed `json:"fan_speed"` // TargetTemperature is the target temperature in Fahrenheit TargetTemperature int `json:"target_temperature"` // CurrentTemperature is the current temperature in Fahrenheit as represented by the thermometer (currently not in use) CurrentTemperature int `json:"current_temperature"` }
State is a thermostat state
Click to show internal directories.
Click to hide internal directories.