1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-13 14:18:14 +00:00
This commit is contained in:
J. Nick Koston 2023-11-17 21:45:22 -06:00
parent 369ed65447
commit e405618c81
No known key found for this signature in database

View File

@ -277,8 +277,8 @@ class EsphomePortCommandWebSocket(EsphomeCommandWebSocket):
if (
port == "OTA"
and (mdns := dashboard.mdns_status)
and (host_name := entries.get(configuration))
and (address := await mdns.async_resolve_host(host_name))
and (entry := entries.get(config_file))
and (address := await mdns.async_resolve_host(entry.name))
):
port = address