From 9df4d5b5b86a0f8bbb1a5d2f94389724abc3d489 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 14 Jan 2023 22:35:17 +0100 Subject: [PATCH] Zigbee entities should be marked as unreachable also if they are currently being interviewed --- platypush/plugins/zigbee/mqtt/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platypush/plugins/zigbee/mqtt/__init__.py b/platypush/plugins/zigbee/mqtt/__init__.py index 61712f4a8..1089b20dc 100644 --- a/platypush/plugins/zigbee/mqtt/__init__.py +++ b/platypush/plugins/zigbee/mqtt/__init__.py @@ -225,7 +225,9 @@ class ZigbeeMqttPlugin(MqttPlugin): # lgtm [py/missing-call-to-init] exposed = self._get_properties(dev) options = self._get_options(dev) - reachable = dev.get('supported', False) + reachable = dev.get('supported', False) and not dev.get( + 'interviewing', False + ) light_info = self._get_light_meta(dev) dev_entities = [