1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-22 19:07:08 +00:00
Files
core/homeassistant/components/improv_ble/const.py
2025-10-15 13:46:23 +02:00

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