mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-27 08:06:56 +01:00
16 lines
431 B
Python
16 lines
431 B
Python
"""Constants for the Improv BLE integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import asyncio
|
|
|
|
from homeassistant.util.hass_dict import HassKey
|
|
|
|
DOMAIN = "improv_ble"
|
|
|
|
PROVISIONING_FUTURES: HassKey[dict[str, asyncio.Future[str]]] = HassKey(DOMAIN)
|
|
|
|
# Timeout in seconds to wait for another integration to register a next flow
|
|
# after successful provisioning (e.g., ESPHome discovering the device)
|
|
PROVISIONING_TIMEOUT = 10.0
|