mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-16 04:14:31 +02:00
removed available override
This commit is contained in:
parent
7c2e61e4d6
commit
3869e670a6
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue