The variable used for this controller is called powerState and it can only be either ON or OFF, this is the basic controller type and it can be used for switches, relays, lights and in general any device that can be turned on, turned off, activated or deactivated.
The variable used for this controller is called percentage and it can only be between 0 and 100, this can be use for lights or dimmable devices.
There are three variables that are used to storage the current state of the thermostat:
temperature : current ambient temperature.
setpoint: desired temperature.
scale: sets the temperature units to use, "C" for Celcius, "F" for Fahrenheit.
The temperature variable is supported by these device types:
The setpoint variable is supported by these device types:
The scale variable is supported by these device types
The variable for digital sensors is called detectionState and it can be true or false, it is supported by the following device types:
The variable that stores the state for locks and doors is called lockedState, it can be true or false, it is supported by these device types: