Files
core/homeassistant/components/usage_prediction/const.py
T

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")