Representation of a Zone.
Definition at line 337 of file __init__.py.
◆ __init__()
| None homeassistant.components.zone.Zone.__init__ |
( |
|
self, |
|
|
ConfigType |
config |
|
) |
| |
◆ _generate_attrs()
| None homeassistant.components.zone.Zone._generate_attrs |
( |
|
self | ) |
|
|
private |
Generate new attrs based on config.
Definition at line 425 of file __init__.py.
◆ _person_state_change_listener()
◆ _set_attrs_from_config()
| None homeassistant.components.zone.Zone._set_attrs_from_config |
( |
|
self | ) |
|
|
private |
Set the attributes from the config.
Definition at line 352 of file __init__.py.
◆ _state_is_in_zone()
| bool homeassistant.components.zone.Zone._state_is_in_zone |
( |
|
self, |
|
|
State | None |
state |
|
) |
| |
|
private |
Return if given state is in zone.
Definition at line 437 of file __init__.py.
◆ async_added_to_hass()
| None homeassistant.components.zone.Zone.async_added_to_hass |
( |
|
self | ) |
|
Run when entity about to be added to hass.
Definition at line 405 of file __init__.py.
◆ async_update_config()
| None homeassistant.components.zone.Zone.async_update_config |
( |
|
self, |
|
|
ConfigType |
config |
|
) |
| |
Handle when the config is updated.
Definition at line 382 of file __init__.py.
◆ from_storage()
| Self homeassistant.components.zone.Zone.from_storage |
( |
|
cls, |
|
|
ConfigType |
config |
|
) |
| |
Return entity instance initialized from storage.
Definition at line 362 of file __init__.py.
◆ from_yaml()
| Self homeassistant.components.zone.Zone.from_yaml |
( |
|
cls, |
|
|
ConfigType |
config |
|
) |
| |
Return entity instance initialized from yaml.
Definition at line 370 of file __init__.py.
◆ state()
| int homeassistant.components.zone.Zone.state |
( |
|
self | ) |
|
Return the state property really does nothing for a zone.
Definition at line 378 of file __init__.py.
◆ _attr_extra_state_attributes
| homeassistant.components.zone.Zone._attr_extra_state_attributes |
|
private |
◆ _attr_icon
| homeassistant.components.zone.Zone._attr_icon |
|
private |
◆ _attr_name
| homeassistant.components.zone.Zone._attr_name |
|
private |
◆ _attr_should_poll
| bool homeassistant.components.zone.Zone._attr_should_poll = False |
|
staticprivate |
◆ _attr_unique_id
| homeassistant.components.zone.Zone._attr_unique_id |
|
private |
◆ _case_folded_name
| homeassistant.components.zone.Zone._case_folded_name |
|
private |
◆ _config
| homeassistant.components.zone.Zone._config |
|
private |
◆ _persons_in_zone
| homeassistant.components.zone.Zone._persons_in_zone |
|
private |
◆ editable
| homeassistant.components.zone.Zone.editable |
◆ entity_id
| homeassistant.components.zone.Zone.entity_id |
The documentation for this class was generated from the following file: