mirror of
https://github.com/home-assistant/core.git
synced 2025-05-01 20:57:51 +00:00

* Add ffmpeg proxy view * Add tests * Add proxy to media player * Add proxy test * Only allow one ffmpeg proc per device * Incorporate feedback * Fix tests * address comments * Fix test * Update paths without auth const --------- Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
23 lines
607 B
Python
23 lines
607 B
Python
"""ESPHome constants."""
|
|
|
|
from awesomeversion import AwesomeVersion
|
|
|
|
DOMAIN = "esphome"
|
|
|
|
CONF_ALLOW_SERVICE_CALLS = "allow_service_calls"
|
|
CONF_DEVICE_NAME = "device_name"
|
|
CONF_NOISE_PSK = "noise_psk"
|
|
|
|
DEFAULT_ALLOW_SERVICE_CALLS = True
|
|
DEFAULT_NEW_CONFIG_ALLOW_ALLOW_SERVICE_CALLS = False
|
|
|
|
|
|
STABLE_BLE_VERSION_STR = "2023.8.0"
|
|
STABLE_BLE_VERSION = AwesomeVersion(STABLE_BLE_VERSION_STR)
|
|
PROJECT_URLS = {
|
|
"esphome.bluetooth-proxy": "https://esphome.github.io/bluetooth-proxies/",
|
|
}
|
|
DEFAULT_URL = f"https://esphome.io/changelog/{STABLE_BLE_VERSION_STR}.html"
|
|
|
|
DATA_FFMPEG_PROXY = f"{DOMAIN}.ffmpeg_proxy"
|