forked from home-assistant/core
Fix Fritz Wi-Fi 6 networks with same name as other Wi-Fi (#52588)
This commit is contained in:
committed by
Franck Nijhof
parent
7a503a6c1f
commit
bad2525a6d
@@ -245,7 +245,7 @@ def wifi_entities_list(
|
|||||||
) -> list[FritzBoxWifiSwitch]:
|
) -> list[FritzBoxWifiSwitch]:
|
||||||
"""Get list of wifi entities."""
|
"""Get list of wifi entities."""
|
||||||
_LOGGER.debug("Setting up %s switches", SWITCH_TYPE_WIFINETWORK)
|
_LOGGER.debug("Setting up %s switches", SWITCH_TYPE_WIFINETWORK)
|
||||||
std_table = {"ac": "5Ghz", "n": "2.4Ghz"}
|
std_table = {"ax": "Wifi6", "ac": "5Ghz", "n": "2.4Ghz"}
|
||||||
networks: dict = {}
|
networks: dict = {}
|
||||||
for i in range(4):
|
for i in range(4):
|
||||||
if not ("WLANConfiguration" + str(i)) in fritzbox_tools.connection.services:
|
if not ("WLANConfiguration" + str(i)) in fritzbox_tools.connection.services:
|
||||||
|
Reference in New Issue
Block a user