Updates to demo component and platforms

This commit is contained in:
Paulus Schoutsen 2015-03-16 22:20:31 -07:00
parent a4af51af14
commit 71803658f5
8 changed files with 96 additions and 20 deletions

View file

@ -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. """