Remove unneeded instance check (#100736)

pull/100742/head
rappenze 2023-09-23 00:42:32 +02:00 committed by GitHub
parent c6d62faff3
commit ad3cd72323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ class FibaroDevice(Entity):
def update(self) -> None:
"""Update the available state of the entity."""
if isinstance(self.fibaro_device, DeviceModel) and self.fibaro_device.has_dead:
if self.fibaro_device.has_dead:
self._attr_available = not self.fibaro_device.dead