mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-01 21:14:32 +02:00
Add wifi (capsman) support for devices without a physical wifi radio running routeros 7.13+
This commit is contained in:
parent
de1ca6a6f6
commit
cf1b56c51e
1 changed files with 4 additions and 0 deletions
|
@ -532,6 +532,10 @@ class MikrotikCoordinator(DataUpdateCoordinator[None]):
|
||||||
self.support_capsman = False
|
self.support_capsman = False
|
||||||
self._wifimodule = "wifi"
|
self._wifimodule = "wifi"
|
||||||
|
|
||||||
|
elif self.minor_fw_version >= 13:
|
||||||
|
self.support_capsman = False
|
||||||
|
self._wifimodule = "wifi"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
self.support_capsman = True
|
self.support_capsman = True
|
||||||
self.support_wireless = bool(self.minor_fw_version < 13)
|
self.support_wireless = bool(self.minor_fw_version < 13)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue