Public Attributes | |
| raw_config | |
Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| device_entry | |
| entity_id | |
| hass | |
| parallel_updates | |
| platform | |
| registry_entry | |
Private Attributes | |
| _attr_name | |
| _attr_unique_id | |
| _validation_error | |
| _validation_status | |
Static Private Attributes | |
| bool | _attr_available = False |
| bool | _attr_should_poll = False |
Additional Inherited Members | |
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 | |
A non-functional automation entity with its state set to unavailable. This class is instantiated when an automation fails to validate.
Definition at line 407 of file __init__.py.
| None homeassistant.components.automation.UnavailableAutomationEntity.__init__ | ( | self, | |
| str | None | automation_id, | ||
| str | name, | ||
| ConfigType | None | raw_config, | ||
| str | validation_error, | ||
| ValidationStatus | validation_status | ||
| ) |
Initialize an automation entity.
Definition at line 416 of file __init__.py.
| None homeassistant.components.automation.UnavailableAutomationEntity.async_added_to_hass | ( | self | ) |
Create a repair issue to notify the user the automation has errors.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 461 of file __init__.py.
| None homeassistant.components.automation.UnavailableAutomationEntity.async_trigger | ( | self, | |
| dict[str, Any] | run_variables, | ||
| Context | None | context = None, |
||
| bool | skip_condition = False |
||
| ) |
Trigger automation.
Reimplemented from homeassistant.components.automation.BaseAutomationEntity.
Definition at line 485 of file __init__.py.
| None homeassistant.components.automation.UnavailableAutomationEntity.async_will_remove_from_hass | ( | self | ) |
Run when entity will be removed from hass. To be extended by integrations.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 479 of file __init__.py.
| set[str] homeassistant.components.automation.UnavailableAutomationEntity.referenced_areas | ( | self | ) |
Return a set of referenced areas.
Reimplemented from homeassistant.components.automation.BaseAutomationEntity.
Definition at line 442 of file __init__.py.
| str | None homeassistant.components.automation.UnavailableAutomationEntity.referenced_blueprint | ( | self | ) |
Return referenced blueprint or None.
Reimplemented from homeassistant.components.automation.BaseAutomationEntity.
Definition at line 447 of file __init__.py.
| set[str] homeassistant.components.automation.UnavailableAutomationEntity.referenced_devices | ( | self | ) |
Return a set of referenced devices.
Reimplemented from homeassistant.components.automation.BaseAutomationEntity.
Definition at line 452 of file __init__.py.
| set[str] homeassistant.components.automation.UnavailableAutomationEntity.referenced_entities | ( | self | ) |
Return a set of referenced entities.
Reimplemented from homeassistant.components.automation.BaseAutomationEntity.
Definition at line 457 of file __init__.py.
| set[str] homeassistant.components.automation.UnavailableAutomationEntity.referenced_floors | ( | self | ) |
Return a set of referenced floors.
Reimplemented from homeassistant.components.automation.BaseAutomationEntity.
Definition at line 437 of file __init__.py.
| set[str] homeassistant.components.automation.UnavailableAutomationEntity.referenced_labels | ( | self | ) |
Return a set of referenced labels.
Reimplemented from homeassistant.components.automation.BaseAutomationEntity.
Definition at line 432 of file __init__.py.
|
staticprivate |
Definition at line 414 of file __init__.py.
|
private |
Initialize an automation entity.
Definition at line 425 of file __init__.py.
|
staticprivate |
A non-functional automation entity with its state set to unavailable. This class is instantiated when an automation fails to validate.
Definition at line 413 of file __init__.py.
|
private |
Definition at line 426 of file __init__.py.
|
private |
Definition at line 428 of file __init__.py.
|
private |
Definition at line 429 of file __init__.py.
| homeassistant.components.automation.UnavailableAutomationEntity.raw_config |
Definition at line 427 of file __init__.py.