mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Add return for certified devices to not apply availability check (#62728)
This commit is contained in:
parent
e00406c7b8
commit
a3e526d6cf
@ -145,6 +145,7 @@ class HueBaseEntity(Entity):
|
|||||||
if self.device.product_data.certified:
|
if self.device.product_data.certified:
|
||||||
# certified products report their state correctly
|
# certified products report their state correctly
|
||||||
self._ignore_availability = False
|
self._ignore_availability = False
|
||||||
|
return
|
||||||
# some (3th party) Hue lights report their connection status incorrectly
|
# some (3th party) Hue lights report their connection status incorrectly
|
||||||
# causing the zigbee availability to report as disconnected while in fact
|
# causing the zigbee availability to report as disconnected while in fact
|
||||||
# it can be controlled. Although this is in fact something the device manufacturer
|
# it can be controlled. Although this is in fact something the device manufacturer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user