Skip to content

Commit

Permalink
Fix missing devices
Browse files Browse the repository at this point in the history
  • Loading branch information
doudz committed Jul 5, 2018
1 parent 8d5c196 commit 0032160
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion zigate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from .const import *
from pydispatch import dispatcher

__version__ = '0.17.0'
__version__ = '0.17.1'

__all__ = ['ZiGate', 'ZiGateWiFi',
'dispatcher']
1 change: 1 addition & 0 deletions zigate/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1494,6 +1494,7 @@ def set_attribute(self, endpoint_id, cluster_id, data):
if rssi > 0:
self.info['rssi'] = rssi
self.info['last_seen'] = strftime('%Y-%m-%d %H:%M:%S')
self.missing = False
cluster = self.get_cluster(endpoint_id, cluster_id)
self._lock.acquire()
r = cluster.update(data)
Expand Down

0 comments on commit 0032160

Please sign in to comment.