mirror of
https://github.com/home-assistant/core.git
synced 2026-09-25 03:03:25 +01:00
16 lines
363 B
Python
16 lines
363 B
Python
"""Constants for the usage prediction integration."""
|
|
|
|
import asyncio
|
|
|
|
from homeassistant.util.hass_dict import HassKey
|
|
|
|
from .models import EntityUsageDataCache, EntityUsagePredictions
|
|
|
|
DOMAIN = "usage_prediction"
|
|
|
|
DEFAULT_LIMIT = 8
|
|
|
|
DATA_CACHE: HassKey[
|
|
dict[str, asyncio.Task[EntityUsagePredictions] | EntityUsageDataCache]
|
|
] = HassKey("usage_prediction")
|