1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00
This commit is contained in:
J. Nick Koston
2025-09-11 19:14:03 -05:00
parent 5dbe56849a
commit 305b4504de
3 changed files with 76 additions and 153 deletions

View File

@@ -358,7 +358,7 @@ class EsphomePortCommandWebSocket(EsphomeCommandWebSocket):
normalized = use_address.rstrip(".").lower()
cache_args.extend(
[
"--mdns-lookup-cache",
"--mdns-address-cache",
f"{normalized}={','.join(sort_ip_addresses(cached))}",
]
)
@@ -372,7 +372,7 @@ class EsphomePortCommandWebSocket(EsphomeCommandWebSocket):
normalized = use_address.rstrip(".").lower()
cache_args.extend(
[
"--dns-lookup-cache",
"--dns-address-cache",
f"{normalized}={','.join(sort_ip_addresses(cached))}",
]
)
@@ -396,7 +396,7 @@ class EsphomePortCommandWebSocket(EsphomeCommandWebSocket):
normalized = mdns_name.rstrip(".").lower()
cache_args.extend(
[
"--mdns-lookup-cache",
"--mdns-address-cache",
f"{normalized}={','.join(sort_ip_addresses(cached))}",
]
)