public class ThermostatProxy extends DeviceProxy<Thermostat> implements Thermostat
Constructor and Description |
---|
ThermostatProxy() |
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
public ThermostatMode[] getSupportedModes()
Thermostat
getSupportedModes
in interface Thermostat
public void setMode(ThermostatMode mode)
Thermostat
setMode
in interface Thermostat
mode
- the mode to set.public ThermostatMode getLastknownMode()
Thermostat
getLastknownMode
in interface Thermostat
public void requestUpdate()
Thermostat
requestUpdate
in interface Thermostat