Update pyvera version.

This commit is contained in:
pavoni committed 2016-01-09 22:58:28 +00:00
1 parent b64680e4a8
commit af21f72d17
4 files changed
+6 -10

No files matched your search

+2 -4
View File
@@ -19,7 +19,7 @@ from homeassistant.const import (
ATTR_LAST_TRIP_TIME,
EVENT_HOMEASSISTANT_STOP)
REQUIREMENTS = ['pyvera==0.2.2']
REQUIREMENTS = ['pyvera==0.2.3']
_LOGGER = logging.getLogger(__name__)
@@ -88,9 +88,7 @@ class VeraSwitch(ToggleEntity):
self._name = self.vera_device.name
self.is_on_status = False
self.controller.register(vera_device)
self.controller.on(
vera_device, self._update_callback)
self.controller.register(vera_device, self._update_callback)
def _update_callback(self, _device):
""" Called by the vera device callback to update state. """