Updates to demo component and platforms
This commit is contained in:
parent
a4af51af14
commit
71803658f5
8 changed files with 96 additions and 20 deletions
|
@ -26,6 +26,11 @@ class DemoThermostat(ThermostatDevice):
|
|||
self._away = away
|
||||
self._current_temperature = current_temperature
|
||||
|
||||
@property
|
||||
def should_poll(self):
|
||||
""" No polling needed for a demo thermostat. """
|
||||
return False
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
""" Returns the name. """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue