mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Remove unneeded instance check (#100736)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user