Zigbee entities should be marked as unreachable also if they are currently being interviewed

This commit is contained in:
Fabio Manganiello 2023-01-14 22:35:17 +01:00
parent afd9a1d6bf
commit 9df4d5b5b8
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -225,7 +225,9 @@ class ZigbeeMqttPlugin(MqttPlugin): # lgtm [py/missing-call-to-init]
exposed = self._get_properties(dev) exposed = self._get_properties(dev)
options = self._get_options(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) light_info = self._get_light_meta(dev)
dev_entities = [ dev_entities = [