Private Attributes | |
| _attr_unique_id | |
| _config | |
Static Private Attributes | |
| bool | _attr_should_poll = False |
| _unrecorded_attributes = frozenset({ATTR_EDITABLE}) | |
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.components.button.ButtonEntity | |
| None | |
Static Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| bool | |
| EntityPlatform | |
| HomeAssistant | |
| None | |
| StateInfo | |
| StateType | |
| str | |
Representation of a button.
Definition at line 132 of file __init__.py.
| None homeassistant.components.input_button.InputButton.__init__ | ( | self, | |
| ConfigType | config | ||
| ) |
Initialize a button.
Definition at line 140 of file __init__.py.
| None homeassistant.components.input_button.InputButton.async_press | ( | self | ) |
Press the button. Left empty intentionally. The input button itself doesn't trigger anything.
Reimplemented from homeassistant.components.button.ButtonEntity.
Definition at line 175 of file __init__.py.
| None homeassistant.components.input_button.InputButton.async_update_config | ( | self, | |
| ConfigType | config | ||
| ) |
Handle when the config is updated.
Definition at line 182 of file __init__.py.
Return the state attributes of the entity.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 171 of file __init__.py.
| Self homeassistant.components.input_button.InputButton.from_storage | ( | cls, | |
| ConfigType | config | ||
| ) |
Return entity instance initialized from storage.
Definition at line 146 of file __init__.py.
| Self homeassistant.components.input_button.InputButton.from_yaml | ( | cls, | |
| ConfigType | config | ||
| ) |
Return entity instance initialized from yaml.
Definition at line 153 of file __init__.py.
Return the icon to be used for this entity.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 166 of file __init__.py.
Return name of the button.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 161 of file __init__.py.
|
staticprivate |
Definition at line 137 of file __init__.py.
|
private |
Definition at line 143 of file __init__.py.
|
private |
Definition at line 142 of file __init__.py.
|
staticprivate |
Definition at line 135 of file __init__.py.