1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 08:15:49 +00:00

dashboard: Implement automatic ping fallback (#8263)

This commit is contained in:
J. Nick Koston
2025-02-27 15:17:07 +00:00
committed by GitHub
parent 63a7234767
commit 3048f303c5
10 changed files with 254 additions and 106 deletions

View File

@@ -54,10 +54,6 @@ class DashboardSettings:
def relative_url(self) -> str:
return os.getenv("ESPHOME_DASHBOARD_RELATIVE_URL") or "/"
@property
def status_use_ping(self):
return get_bool_env("ESPHOME_DASHBOARD_USE_PING")
@property
def status_use_mqtt(self) -> bool:
return get_bool_env("ESPHOME_DASHBOARD_USE_MQTT")