mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix Fritz Wi-Fi 6 networks with same name as other Wi-Fi (#52588)
This commit is contained in:
parent
a70dae0843
commit
046eb1690a
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user