Fix socket thread launch after first time

This commit is contained in:
2019-11-03 19:34:39 +01:00
parent 991370fcec
commit ecf2a23c70
5 changed files with 31 additions and 28 deletions

View File

@@ -80,7 +80,7 @@ class GeorideLockSwitchEntity(SwitchDevice):
def update(self):
""" update the current tracker"""
_LOGGER.info('async_update ')
_LOGGER.info('update')
self._data = self._get_tracker_callback(self._tracker_id)
self._name = self._data.tracker_name
self._is_on = self._data.is_locked