mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-09 00:44:32 +02:00
Update coordinator.py
Futureproof wifi module 7.13 change
This commit is contained in:
parent
5feb9ad3c2
commit
50abfe86b6
1 changed files with 1 additions and 1 deletions
|
@ -1981,7 +1981,7 @@ class MikrotikCoordinator(DataUpdateCoordinator[None]):
|
|||
def get_capsman_hosts(self) -> None:
|
||||
"""Get CAPS-MAN hosts data from Mikrotik"""
|
||||
|
||||
if self.major_fw_version >= 7 and self.minor_fw_version > 12:
|
||||
if self.major_fw_version > 7 or (self.major_fw_version == 7 and self.minor_fw_version >= 13):
|
||||
registration_path = "/interface/wifi/registration-table"
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue