mirror of
https://github.com/home-assistant/core.git
synced 2026-09-30 11:43:48 +01:00
16 lines
394 B
Python
16 lines
394 B
Python
"""Provides the constants needed for the component."""
|
|
|
|
from typing import TYPE_CHECKING, Final
|
|
|
|
from homeassistant.util.hass_dict import HassKey
|
|
|
|
if TYPE_CHECKING:
|
|
from homeassistant.helpers.entity_component import EntityComponent
|
|
|
|
from . import DateEntity
|
|
|
|
DOMAIN: Final = "date"
|
|
DATA_COMPONENT: HassKey[EntityComponent[DateEntity]] = HassKey(DOMAIN)
|
|
|
|
SERVICE_SET_VALUE = "set_value"
|