From 3869e670a685299111a16762f292f453c5ffdc63 Mon Sep 17 00:00:00 2001 From: Tomaae <23486452+tomaae@users.noreply.github.com> Date: Wed, 9 Aug 2023 02:32:35 +0200 Subject: [PATCH] removed available override --- custom_components/mikrotik_router/entity.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/custom_components/mikrotik_router/entity.py b/custom_components/mikrotik_router/entity.py index cfae5ef..94faa43 100644 --- a/custom_components/mikrotik_router/entity.py +++ b/custom_components/mikrotik_router/entity.py @@ -207,10 +207,10 @@ class MikrotikEntity(CoordinatorEntity[MikrotikCoordinator], Entity): else: return f"{self._inst.lower()}-{self.entity_description.key}" - @property - def available(self) -> bool: - """Return if controller is available""" - return self.coordinator.connected() + # @property + # def available(self) -> bool: + # """Return if controller is available""" + # return self.coordinator.connected() @property def device_info(self) -> DeviceInfo: