2023-01-18 16:59:55 +00:00
|
|
|
"""ESPHome constants."""
|
2024-03-08 13:15:26 +00:00
|
|
|
|
2023-07-08 07:19:44 +00:00
|
|
|
from awesomeversion import AwesomeVersion
|
2023-01-18 16:59:55 +00:00
|
|
|
|
|
|
|
DOMAIN = "esphome"
|
2023-06-26 01:18:21 +00:00
|
|
|
|
|
|
|
CONF_ALLOW_SERVICE_CALLS = "allow_service_calls"
|
2023-07-08 07:19:44 +00:00
|
|
|
CONF_DEVICE_NAME = "device_name"
|
|
|
|
CONF_NOISE_PSK = "noise_psk"
|
|
|
|
|
2023-06-26 01:18:21 +00:00
|
|
|
DEFAULT_ALLOW_SERVICE_CALLS = True
|
|
|
|
DEFAULT_NEW_CONFIG_ALLOW_ALLOW_SERVICE_CALLS = False
|
2023-07-08 07:19:44 +00:00
|
|
|
|
|
|
|
|
2023-08-17 15:39:35 +00:00
|
|
|
STABLE_BLE_VERSION_STR = "2023.8.0"
|
2023-07-08 07:19:44 +00:00
|
|
|
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"
|