Update text_sensor.py

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
This commit is contained in:
J. Nick Koston
2025-11-24 17:50:36 -06:00
committed by GitHub
parent c7d485e8bd
commit a50c744714

View File

@@ -80,7 +80,7 @@ async def setup_conf(config, key):
async def to_code(config):
# Request WiFi callbacks for any sensor that needs them
if _NETWORK_INFO_KEYS & config.keys():
if _NETWORK_INFO_KEYS.intersection(config):
wifi.request_wifi_callbacks()
await setup_conf(config, CONF_SSID)