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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user