Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.time_date.const Namespace Reference

Variables

string CONF_DISPLAY_OPTIONS = "display_options"
 
 Final
 
list OPTION_TYPES
 
list PLATFORMS = [Platform.SENSOR]
 
string TIME_STR_FORMAT = "%H:%M"
 

Detailed Description

Constants for the Time & Date integration.

Variable Documentation

◆ CONF_DISPLAY_OPTIONS

string homeassistant.components.time_date.const.CONF_DISPLAY_OPTIONS = "display_options"

Definition at line 9 of file const.py.

◆ Final

homeassistant.components.time_date.const.Final

Definition at line 10 of file const.py.

◆ OPTION_TYPES

list homeassistant.components.time_date.const.OPTION_TYPES
Initial value:
1 = [
2  "time",
3  "date",
4  "date_time",
5  "date_time_utc",
6  "date_time_iso",
7  "time_date",
8  "time_utc",
9 ]

Definition at line 14 of file const.py.

◆ PLATFORMS

list homeassistant.components.time_date.const.PLATFORMS = [Platform.SENSOR]

Definition at line 11 of file const.py.

◆ TIME_STR_FORMAT

string homeassistant.components.time_date.const.TIME_STR_FORMAT = "%H:%M"

Definition at line 12 of file const.py.