public interface Thermostat extends Profile
UNKNOWN_NAME
Modifier and Type | Method and Description |
---|---|
ThermostatMode |
getLastknownMode()
Gets the last known mode.
|
ThermostatMode[] |
getSupportedModes()
Gets the modes managed by the thermostat.
|
void |
requestUpdate()
Request an update of the currentMode.
|
void |
setMode(ThermostatMode mode)
Sets the last known mode.
|
getChildren, getDescriptor, getName, getParent
ThermostatMode getLastknownMode()
ThermostatMode[] getSupportedModes()
void requestUpdate() throws IOException
IOException
- if there is a communication error with the devicevoid setMode(ThermostatMode mode) throws IOException
mode
- the mode to set.IOException
- if there is a communication error with the device