Skip to content
Snippets Groups Projects
Unverified Commit ad3cd723 authored by rappenze's avatar rappenze Committed by GitHub
Browse files

Remove unneeded instance check (#100736)

parent c6d62faf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment