Namespaces | |
| const | |
Classes | |
| class | DateEntity |
| class | DateEntityDescription |
Functions | |
| None | _async_set_value (DateEntity entity, ServiceCall service_call) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
Variables | |
| list | __all__ = ["DOMAIN", "DateEntity", "DateEntityDescription"] |
| _LOGGER = logging.getLogger(__name__) | |
| dictionary | CACHED_PROPERTIES_WITH_ATTR_ = {"native_value"} |
| string | ENTITY_ID_FORMAT = DOMAIN + ".{}" |
| PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA | |
| PLATFORM_SCHEMA_BASE = cv.PLATFORM_SCHEMA_BASE | |
| SCAN_INTERVAL = timedelta(seconds=30) | |
Component to allow setting date as platforms.
|
private |
Service call wrapper to set a new date.
Definition at line 35 of file __init__.py.
| bool homeassistant.components.date.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up Date entities.
Definition at line 40 of file __init__.py.
| bool homeassistant.components.date.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up a config entry.
Definition at line 54 of file __init__.py.
| bool homeassistant.components.date.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 59 of file __init__.py.
|
private |
Definition at line 32 of file __init__.py.
|
private |
Definition at line 23 of file __init__.py.
| dictionary homeassistant.components.date.CACHED_PROPERTIES_WITH_ATTR_ = {"native_value"} |
Definition at line 68 of file __init__.py.
| string homeassistant.components.date.ENTITY_ID_FORMAT = DOMAIN + ".{}" |
Definition at line 26 of file __init__.py.
| homeassistant.components.date.PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA |
Definition at line 27 of file __init__.py.
| homeassistant.components.date.PLATFORM_SCHEMA_BASE = cv.PLATFORM_SCHEMA_BASE |
Definition at line 28 of file __init__.py.
| homeassistant.components.date.SCAN_INTERVAL = timedelta(seconds=30) |
Definition at line 29 of file __init__.py.