1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-22 11:59:34 +00:00
Files
core/homeassistant/components/time_date/const.py
2024-03-08 10:35:23 -05:00

24 lines
427 B
Python

"""Constants for the Time & Date integration."""
from __future__ import annotations
from typing import Final
from homeassistant.const import Platform
CONF_DISPLAY_OPTIONS = "display_options"
DOMAIN: Final = "time_date"
PLATFORMS = [Platform.SENSOR]
TIME_STR_FORMAT = "%H:%M"
OPTION_TYPES = [
"time",
"date",
"date_time",
"date_time_utc",
"date_time_iso",
"time_date",
"beat",
"time_utc",
]