mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
16 lines
438 B
Python
16 lines
438 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 | None]]] = 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
|