Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #116 from doudz/dev
Browse files Browse the repository at this point in the history
0.28.3
  • Loading branch information
doudz authored Feb 27, 2019
2 parents 715687f + a9348e7 commit 830cf56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions zigate/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,9 @@ def interpret_response(self, response):
response['data'] = 'unsupported'
else:
return
# ignore if related to zigate
if response['addr'] == self.addr:
return
device = self._get_device(response['addr'])
device.lqi = response['lqi']
r = device.set_attribute(response['endpoint'],
Expand Down Expand Up @@ -584,6 +587,9 @@ def interpret_response(self, response):
self._set_device(device)
elif response.msg == 0x8140: # attribute discovery
if 'addr' in response:
# ignore if related to zigate
if response['addr'] == self.addr:
return
device = self._get_device(response['addr'])
r = device.set_attribute(response['endpoint'],
response['cluster'],
Expand Down
2 changes: 1 addition & 1 deletion zigate/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# file that was distributed with this source code.
#

__version__ = '0.28.2'
__version__ = '0.28.3'

0 comments on commit 830cf56

Please sign in to comment.