1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-05-08 17:08:36 +01:00

Fix none error in mapping wireless fields (#5749)

This commit is contained in:
Mike Degatano
2025-03-14 06:18:52 -04:00
committed by GitHub
parent 78c6868ad3
commit cc74831113
+1 -1
View File
@@ -234,7 +234,7 @@ class Interface:
# WifiMode
mode = WifiMode.INFRASTRUCTURE
if inet.settings.wireless.mode:
if inet.settings.wireless and inet.settings.wireless.mode:
mode = WifiMode(inet.settings.wireless.mode)
# Signal