From ad3cd723234385d598abeca82f5a69357681a05a Mon Sep 17 00:00:00 2001 From: rappenze Date: Sat, 23 Sep 2023 00:42:32 +0200 Subject: [PATCH] Remove unneeded instance check (#100736) --- homeassistant/components/fibaro/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/fibaro/__init__.py b/homeassistant/components/fibaro/__init__.py index ffa13749fa7..b4e5b47f297 100644 --- a/homeassistant/components/fibaro/__init__.py +++ b/homeassistant/components/fibaro/__init__.py @@ -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