Add return for certified devices to not apply availability check ()

pull/62831/head
flfue 2021-12-27 08:31:51 +01:00 committed by GitHub
parent e00406c7b8
commit a3e526d6cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
homeassistant/components/hue/v2

View File

@ -145,6 +145,7 @@ class HueBaseEntity(Entity):
if self.device.product_data.certified:
# certified products report their state correctly
self._ignore_availability = False
return
# some (3th party) Hue lights report their connection status incorrectly
# causing the zigbee availability to report as disconnected while in fact
# it can be controlled. Although this is in fact something the device manufacturer