Add config flow for Time & Date (#104183)
Co-authored-by: Erik <erik@montnemery.com>
This commit is contained in:
parent
eaa32146a6
commit
65581e94ea
15 changed files with 573 additions and 88 deletions
|
@ -3,4 +3,20 @@ 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",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue