1 """ESPHome constants."""
3 from awesomeversion
import AwesomeVersion
7 CONF_ALLOW_SERVICE_CALLS =
"allow_service_calls"
8 CONF_DEVICE_NAME =
"device_name"
9 CONF_NOISE_PSK =
"noise_psk"
11 DEFAULT_ALLOW_SERVICE_CALLS =
True
12 DEFAULT_NEW_CONFIG_ALLOW_ALLOW_SERVICE_CALLS =
False
15 STABLE_BLE_VERSION_STR =
"2023.8.0"
16 STABLE_BLE_VERSION = AwesomeVersion(STABLE_BLE_VERSION_STR)
18 "esphome.bluetooth-proxy":
"https://esphome.github.io/bluetooth-proxies/",
20 DEFAULT_URL = f
"https://esphome.io/changelog/{STABLE_BLE_VERSION_STR}.html"
22 DATA_FFMPEG_PROXY = f
"{DOMAIN}.ffmpeg_proxy"