Remove unneeded instance check (#100736)

This commit is contained in:
rappenze
2023-09-23 00:42:32 +02:00
committed by GitHub
parent c6d62faff3
commit ad3cd72323

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