mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix old model network suffix for Fritz (#60802)
This commit is contained in:
parent
63c377a239
commit
00605c1e35
@ -246,6 +246,9 @@ def wifi_entities_list(
|
||||
"""Get list of wifi entities."""
|
||||
_LOGGER.debug("Setting up %s switches", SWITCH_TYPE_WIFINETWORK)
|
||||
std_table = {"ax": "Wifi6", "ac": "5Ghz", "n": "2.4Ghz"}
|
||||
if fritzbox_tools.model == "FRITZ!Box 7390":
|
||||
std_table = {"n": "5Ghz"}
|
||||
|
||||
networks: dict = {}
|
||||
for i in range(4):
|
||||
if not ("WLANConfiguration" + str(i)) in fritzbox_tools.connection.services:
|
||||
|
Loading…
x
Reference in New Issue
Block a user