Private Attributes | |
| _attr_is_on | |
| _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.helpers.entity.ToggleEntity | |
| None | |
Static Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| bool | |
| EntityPlatform | |
| HomeAssistant | |
| None | |
| StateInfo | |
| StateType | |
| str | |
Representation of a boolean input.
Definition at line 150 of file __init__.py.
| None homeassistant.components.input_boolean.InputBoolean.__init__ | ( | self, | |
| ConfigType | config | ||
| ) |
Initialize a boolean input.
Definition at line 158 of file __init__.py.
| None homeassistant.components.input_boolean.InputBoolean.async_added_to_hass | ( | self | ) |
Call when entity about to be added to hass.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 194 of file __init__.py.
| None homeassistant.components.input_boolean.InputBoolean.async_turn_off | ( | self, | |
| **Any | kwargs | ||
| ) |
Turn the entity off.
Reimplemented from homeassistant.helpers.entity.ToggleEntity.
Definition at line 209 of file __init__.py.
| None homeassistant.components.input_boolean.InputBoolean.async_turn_on | ( | self, | |
| **Any | kwargs | ||
| ) |
Turn the entity on.
Reimplemented from homeassistant.helpers.entity.ToggleEntity.
Definition at line 204 of file __init__.py.
| None homeassistant.components.input_boolean.InputBoolean.async_update_config | ( | self, | |
| ConfigType | config | ||
| ) |
Handle when the config is updated.
Definition at line 214 of file __init__.py.
Return the state attributes of the entity.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 190 of file __init__.py.
| Self homeassistant.components.input_boolean.InputBoolean.from_storage | ( | cls, | |
| ConfigType | config | ||
| ) |
Return entity instance initialized from storage.
Definition at line 165 of file __init__.py.
| Self homeassistant.components.input_boolean.InputBoolean.from_yaml | ( | cls, | |
| ConfigType | config | ||
| ) |
Return entity instance initialized from yaml.
Definition at line 172 of file __init__.py.
Return the icon to be used for this entity.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 185 of file __init__.py.
Return name of the boolean input.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 180 of file __init__.py.
|
private |
Definition at line 161 of file __init__.py.
|
staticprivate |
Definition at line 155 of file __init__.py.
|
private |
Definition at line 162 of file __init__.py.
|
private |
Definition at line 160 of file __init__.py.
|
staticprivate |
Definition at line 153 of file __init__.py.