mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Remove unneeded instance check (#100736)
This commit is contained in:
parent
c6d62faff3
commit
ad3cd72323
@ -514,7 +514,7 @@ class FibaroDevice(Entity):
|
|||||||
|
|
||||||
def update(self) -> None:
|
def update(self) -> None:
|
||||||
"""Update the available state of the entity."""
|
"""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
|
self._attr_available = not self.fibaro_device.dead
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user