public class ThermostatProxy extends DeviceProxy<Thermostat> implements Thermostat
UNKNOWN_NAME
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
getReference, invoke, invokeBoolean, invokeByte, invokeChar, invokeDouble, invokeFloat, invokeInt, invokeLong, invokeRef, invokeShort
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getDescriptor, getName, getParent
public ThermostatMode getLastknownMode()
Thermostat
getLastknownMode
in interface Thermostat
public ThermostatMode[] getSupportedModes()
Thermostat
getSupportedModes
in interface Thermostat
public void requestUpdate()
Thermostat
requestUpdate
in interface Thermostat
public void setMode(ThermostatMode mode)
Thermostat
setMode
in interface Thermostat
mode
- the mode to set.