Namespaces | |
| const | |
Classes | |
| class | TimeEntity |
| class | TimeEntityDescription |
Functions | |
| None | _async_set_value (TimeEntity 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", "TimeEntity", "TimeEntityDescription"] |
| _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 time as platforms.
|
private |
Service call wrapper to set a new date.
Definition at line 35 of file __init__.py.
| bool homeassistant.components.time.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up Time entities.
Definition at line 40 of file __init__.py.
| bool homeassistant.components.time.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up a config entry.
Definition at line 54 of file __init__.py.
| bool homeassistant.components.time.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.time.CACHED_PROPERTIES_WITH_ATTR_ = {"native_value"} |
Definition at line 68 of file __init__.py.
| string homeassistant.components.time.ENTITY_ID_FORMAT = DOMAIN + ".{}" |
Definition at line 26 of file __init__.py.
| homeassistant.components.time.PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA |
Definition at line 27 of file __init__.py.
| homeassistant.components.time.PLATFORM_SCHEMA_BASE = cv.PLATFORM_SCHEMA_BASE |
Definition at line 28 of file __init__.py.
| homeassistant.components.time.SCAN_INTERVAL = timedelta(seconds=30) |
Definition at line 29 of file __init__.py.