From aae6771f5b96f074a343094c72d11d3c8e5312b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20RAMAGE?= Date: Wed, 27 Feb 2019 12:17:21 +0100 Subject: [PATCH 1/2] Ignore message related to zigate --- zigate/core.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zigate/core.py b/zigate/core.py index 935f9d80..a200623f 100644 --- a/zigate/core.py +++ b/zigate/core.py @@ -540,6 +540,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'], @@ -568,6 +571,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'], From a9348e7b53fa02796a20f2cef5fa8ffa0b29b9e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20RAMAGE?= Date: Wed, 27 Feb 2019 12:18:03 +0100 Subject: [PATCH 2/2] bump to 0.28.3 --- zigate/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zigate/version.py b/zigate/version.py index aef6b32a..f97e6df7 100644 --- a/zigate/version.py +++ b/zigate/version.py @@ -5,4 +5,4 @@ # file that was distributed with this source code. # -__version__ = '0.28.2' +__version__ = '0.28.3'