Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """ESPHome constants."""
2 
3 from awesomeversion import AwesomeVersion
4 
5 DOMAIN = "esphome"
6 
7 CONF_ALLOW_SERVICE_CALLS = "allow_service_calls"
8 CONF_DEVICE_NAME = "device_name"
9 CONF_NOISE_PSK = "noise_psk"
10 
11 DEFAULT_ALLOW_SERVICE_CALLS = True
12 DEFAULT_NEW_CONFIG_ALLOW_ALLOW_SERVICE_CALLS = False
13 
14 
15 STABLE_BLE_VERSION_STR = "2023.8.0"
16 STABLE_BLE_VERSION = AwesomeVersion(STABLE_BLE_VERSION_STR)
17 PROJECT_URLS = {
18  "esphome.bluetooth-proxy": "https://esphome.github.io/bluetooth-proxies/",
19 }
20 DEFAULT_URL = f"https://esphome.io/changelog/{STABLE_BLE_VERSION_STR}.html"
21 
22 DATA_FFMPEG_PROXY = f"{DOMAIN}.ffmpeg_proxy"