Update homeassistant.py (#215)

This commit is contained in:
Pascal Vizeli 2017-10-09 13:21:21 +02:00 committed by GitHub
parent fe04b7ec59
commit 68566ee9e1

View File

@ -95,7 +95,7 @@ class HomeAssistant(JsonConfig):
def watchdog(self, value): def watchdog(self, value):
"""Return True if the watchdog should protect Home-Assistant.""" """Return True if the watchdog should protect Home-Assistant."""
self._data[ATTR_WATCHDOG] = value self._data[ATTR_WATCHDOG] = value
self._data.save() self.save()
@property @property
def version(self): def version(self):