Private Attributes | |
| _config | |
| _current_datetime | |
Static Private Attributes | |
| bool | _attr_should_poll = False |
| _unrecorded_attributes = frozenset({ATTR_EDITABLE, CONF_HAS_DATE, CONF_HAS_TIME}) | |
Additional Inherited Members | |
Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| device_entry | |
| entity_id | |
| hass | |
| parallel_updates | |
| platform | |
| registry_entry | |
Static Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| bool | |
| EntityPlatform | |
| HomeAssistant | |
| None | |
| StateInfo | |
| StateType | |
| str | |
Representation of a datetime input.
Definition at line 218 of file __init__.py.
| None homeassistant.components.input_datetime.InputDatetime.__init__ | ( | self, | |
| ConfigType | config | ||
| ) |
Initialize a select input.
Definition at line 226 of file __init__.py.
| def homeassistant.components.input_datetime.InputDatetime.async_added_to_hass | ( | self | ) |
Run when entity about to be added.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 261 of file __init__.py.
| def homeassistant.components.input_datetime.InputDatetime.async_set_datetime | ( | self, | |
date = None, |
|||
time = None, |
|||
datetime = None, |
|||
timestamp = None |
|||
| ) |
Set a new date / time.
Definition at line 386 of file __init__.py.
| None homeassistant.components.input_datetime.InputDatetime.async_update_config | ( | self, | |
| ConfigType | config | ||
| ) |
Handle when the config is updated.
Definition at line 415 of file __init__.py.
| dict[str, Any] homeassistant.components.input_datetime.InputDatetime.capability_attributes | ( | self | ) |
Return the capability attributes.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 335 of file __init__.py.
| def homeassistant.components.input_datetime.InputDatetime.extra_state_attributes | ( | self | ) |
Return the state attributes.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 343 of file __init__.py.
| Self homeassistant.components.input_datetime.InputDatetime.from_storage | ( | cls, | |
| ConfigType | config | ||
| ) |
Return entity instance initialized from storage.
Definition at line 247 of file __init__.py.
| Self homeassistant.components.input_datetime.InputDatetime.from_yaml | ( | cls, | |
| ConfigType | config | ||
| ) |
Return entity instance initialized from yaml.
Definition at line 254 of file __init__.py.
| bool homeassistant.components.input_datetime.InputDatetime.has_date | ( | self | ) |
Return True if entity has date.
Definition at line 306 of file __init__.py.
| bool homeassistant.components.input_datetime.InputDatetime.has_time | ( | self | ) |
Return True if entity has time.
Definition at line 311 of file __init__.py.
| def homeassistant.components.input_datetime.InputDatetime.icon | ( | self | ) |
Return the icon to be used for this entity.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 316 of file __init__.py.
| def homeassistant.components.input_datetime.InputDatetime.name | ( | self | ) |
Return the name of the select input.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 301 of file __init__.py.
| def homeassistant.components.input_datetime.InputDatetime.state | ( | self | ) |
Return the state of the component.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 321 of file __init__.py.
Return unique id of the entity.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 381 of file __init__.py.
|
staticprivate |
Definition at line 223 of file __init__.py.
|
private |
Definition at line 228 of file __init__.py.
|
private |
Definition at line 229 of file __init__.py.
|
staticprivate |
Definition at line 221 of file __init__.py.