enum SystemModeEnum
The current operating mode of the thermostat.
-
The thermostat is not set to engage any climate control functions.
Declaration
Swift
case off
-
Demand is generated for either cooling or heating, as required.
Declaration
Swift
case auto
-
Demand is only generated for cooling.
Declaration
Swift
case cool
-
Demand is only generated for heating.
Declaration
Swift
case heat
-
Second stage heating is in use to achieve desired temperature.
Declaration
Swift
case emergencyHeat
-
The thermostat is in precooling mode.
Declaration
Swift
case precooling
-
Demand is only generated for fan.
Declaration
Swift
case fanOnly
-
Demand is only generated for dehumidification.
Declaration
Swift
case dry
-
The thermostat is set to sleep mode.
Declaration
Swift
case sleep
-
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil
. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional("PaperSize.Legal")" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"
Declaration
Swift
init?(rawValue: UInt64)
Parameters
rawValue
The raw value to use for the new instance.