Fix Matter startup when Matter bridge is present (#116569)

pull/116697/head
Marcel van der Veldt 2024-05-03 13:27:01 +02:00 committed by GitHub
parent 309b3451b6
commit 217795865b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -398,6 +398,8 @@ class MatterLight(MatterEntity, LightEntity):
def _check_transition_blocklist(self) -> None:
"""Check if this device is reported to have non working transitions."""
device_info = self._endpoint.device_info
if isinstance(device_info, clusters.BridgedDeviceBasicInformation):
return
if (
device_info.vendorID,
device_info.productID,