mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
Co-authored-by: J. Nick Koston <nick@home-assistant.io> Co-authored-by: J. Nick Koston <nick@koston.org>
14 lines
344 B
Python
14 lines
344 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"
|
|
|
|
DATA_CACHE: HassKey[
|
|
dict[str, asyncio.Task[EntityUsagePredictions] | EntityUsageDataCache]
|
|
] = HassKey("usage_prediction")
|