mirror of
https://github.com/esphome/esphome.git
synced 2025-09-27 07:32:22 +01:00
Add relative_url, streamer_mode, status_use_ping dashboard options (#461)
* Add relative_url, streamer_mode, status_use_ping dashboard options Additionally Hass.io now stores all build files in /data, so that snapshots no longer get huge. * Lint * Lint * Replace tabs with spaces
This commit is contained in:
@@ -8,7 +8,7 @@ import voluptuous as vol
|
||||
|
||||
import esphome.config_validation as cv
|
||||
from esphome.const import ESP_PLATFORMS, ESP_PLATFORM_ESP32, ESP_PLATFORM_ESP8266
|
||||
from esphome.helpers import color
|
||||
from esphome.helpers import color, get_bool_env
|
||||
# pylint: disable=anomalous-backslash-in-string
|
||||
from esphome.pins import ESP32_BOARD_PINS, ESP8266_BOARD_PINS
|
||||
from esphome.py_compat import safe_input, text_type
|
||||
@@ -86,7 +86,7 @@ def wizard_write(path, **kwargs):
|
||||
storage.save(storage_path)
|
||||
|
||||
|
||||
if os.getenv('ESPHOME_QUICKWIZARD', ''):
|
||||
if get_bool_env('ESPHOME_QUICKWIZARD'):
|
||||
def sleep(time):
|
||||
pass
|
||||
else:
|
||||
|
Reference in New Issue
Block a user