Private Member Functions | |
| int | _maximum (self) |
| int | _minimum (self) |
Private Attributes | |
| _config | |
| _current_value | |
Static Private Attributes | |
| bool | _attr_should_poll = False |
| _unrecorded_attributes | |
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 | |
Represent a text box.
Definition at line 183 of file __init__.py.
| None homeassistant.components.input_text.InputText.__init__ | ( | self, | |
| ConfigType | config | ||
| ) |
Initialize a text input.
Definition at line 194 of file __init__.py.
|
private |
Return max len of the text.
Definition at line 225 of file __init__.py.
|
private |
Return min len of the text.
Definition at line 230 of file __init__.py.
| None homeassistant.components.input_text.InputText.async_added_to_hass | ( | self | ) |
Run when entity about to be added to hass.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 260 of file __init__.py.
Select new value.
Definition at line 273 of file __init__.py.
| None homeassistant.components.input_text.InputText.async_update_config | ( | self, | |
| ConfigType | config | ||
| ) |
Handle when the config is updated.
Definition at line 286 of file __init__.py.
| dict[str, Any] homeassistant.components.input_text.InputText.extra_state_attributes | ( | self | ) |
Return the state attributes.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 250 of file __init__.py.
| Self homeassistant.components.input_text.InputText.from_storage | ( | cls, | |
| ConfigType | config | ||
| ) |
Return entity instance initialized from storage.
Definition at line 200 of file __init__.py.
| Self homeassistant.components.input_text.InputText.from_yaml | ( | cls, | |
| ConfigType | config | ||
| ) |
Return entity instance initialized from yaml.
Definition at line 207 of file __init__.py.
Return the icon to be used for this entity.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 220 of file __init__.py.
Return the name of the text input entity.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 215 of file __init__.py.
Return the state of the component.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 235 of file __init__.py.
| str homeassistant.components.input_text.InputText.unique_id | ( | self | ) |
Return unique id for the entity.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 245 of file __init__.py.
Return the unit the value is expressed in.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 240 of file __init__.py.
|
staticprivate |
Definition at line 190 of file __init__.py.
|
private |
Definition at line 196 of file __init__.py.
|
private |
Definition at line 197 of file __init__.py.
|
staticprivate |
Definition at line 186 of file __init__.py.