removed available override

This commit is contained in:
Tomaae 2023-08-09 02:32:35 +02:00
parent 7c2e61e4d6
commit 3869e670a6
No known key found for this signature in database
GPG key ID: 2F97770867DAA4E6

View file

@ -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: