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 script entity with its state set to unavailable. This class is instantiated when an script fails to validate.
Definition at line 461 of file __init__.py.
| None homeassistant.components.script.UnavailableScriptEntity.__init__ | ( | self, | |
| str | key, | ||
| ConfigType | None | raw_config, | ||
| str | validation_error, | ||
| ValidationStatus | validation_status | ||
| ) |
Initialize a script entity.
Definition at line 470 of file __init__.py.
| None homeassistant.components.script.UnavailableScriptEntity.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 514 of file __init__.py.
| None homeassistant.components.script.UnavailableScriptEntity.async_will_remove_from_hass | ( | self | ) |
Run when entity will be removed from hass.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 532 of file __init__.py.
| set[str] homeassistant.components.script.UnavailableScriptEntity.referenced_areas | ( | self | ) |
Return a set of referenced areas.
Reimplemented from homeassistant.components.script.BaseScriptEntity.
Definition at line 495 of file __init__.py.
Return referenced blueprint or None.
Reimplemented from homeassistant.components.script.BaseScriptEntity.
Definition at line 500 of file __init__.py.
| set[str] homeassistant.components.script.UnavailableScriptEntity.referenced_devices | ( | self | ) |
Return a set of referenced devices.
Reimplemented from homeassistant.components.script.BaseScriptEntity.
Definition at line 505 of file __init__.py.
| set[str] homeassistant.components.script.UnavailableScriptEntity.referenced_entities | ( | self | ) |
Return a set of referenced entities.
Reimplemented from homeassistant.components.script.BaseScriptEntity.
Definition at line 510 of file __init__.py.
| set[str] homeassistant.components.script.UnavailableScriptEntity.referenced_floors | ( | self | ) |
Return a set of referenced floors.
Reimplemented from homeassistant.components.script.BaseScriptEntity.
Definition at line 490 of file __init__.py.
| set[str] homeassistant.components.script.UnavailableScriptEntity.referenced_labels | ( | self | ) |
Return a set of referenced labels.
Reimplemented from homeassistant.components.script.BaseScriptEntity.
Definition at line 485 of file __init__.py.
|
staticprivate |
Definition at line 468 of file __init__.py.
|
private |
Definition at line 478 of file __init__.py.
|
staticprivate |
A non-functional script entity with its state set to unavailable. This class is instantiated when an script fails to validate.
Definition at line 467 of file __init__.py.
|
private |
Definition at line 479 of file __init__.py.
|
private |
Definition at line 481 of file __init__.py.
|
private |
Definition at line 482 of file __init__.py.
| homeassistant.components.script.UnavailableScriptEntity.raw_config |
Definition at line 480 of file __init__.py.