Feed Entity Manager for GeoNet NZ Volcano feed.
Definition at line 113 of file __init__.py.
◆ __init__()
| def homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager.__init__ |
( |
|
self, |
|
|
|
hass, |
|
|
|
config_entry, |
|
|
|
radius_in_km, |
|
|
|
unit_system |
|
) |
| |
Initialize the Feed Entity Manager.
Definition at line 116 of file __init__.py.
◆ _generate_entity()
| def homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager._generate_entity |
( |
|
self, |
|
|
|
external_id |
|
) |
| |
|
private |
◆ _remove_entity()
| def homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager._remove_entity |
( |
|
self, |
|
|
|
external_id |
|
) |
| |
|
private |
◆ _update_entity()
| def homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager._update_entity |
( |
|
self, |
|
|
|
external_id |
|
) |
| |
|
private |
◆ async_event_new_entity()
| def homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager.async_event_new_entity |
( |
|
self | ) |
|
Return manager specific event to signal new entity.
Definition at line 172 of file __init__.py.
◆ async_init()
| def homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager.async_init |
( |
|
self | ) |
|
Schedule initial and regular updates based on configured time interval.
Definition at line 139 of file __init__.py.
◆ async_stop()
| def homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager.async_stop |
( |
|
self | ) |
|
Stop this feed entity manager from refreshing.
Definition at line 162 of file __init__.py.
◆ async_update()
| def homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager.async_update |
( |
|
self | ) |
|
◆ get_entry()
| def homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager.get_entry |
( |
|
self, |
|
|
|
external_id |
|
) |
| |
Get feed entry by external id.
Definition at line 176 of file __init__.py.
◆ last_update()
| datetime | None homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager.last_update |
( |
|
self | ) |
|
Return the last update of this feed.
Definition at line 180 of file __init__.py.
◆ last_update_successful()
| datetime | None homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager.last_update_successful |
( |
|
self | ) |
|
Return the last successful update of this feed.
Definition at line 184 of file __init__.py.
◆ _config_entry
| homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager._config_entry |
|
private |
◆ _config_entry_id
| homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager._config_entry_id |
|
private |
◆ _feed_manager
| homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager._feed_manager |
|
private |
◆ _hass
| homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager._hass |
|
private |
Initialize the Feed Entity Manager.
Definition at line 118 of file __init__.py.
◆ _scan_interval
| homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager._scan_interval |
|
private |
◆ _track_time_remove_callback
| homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager._track_time_remove_callback |
|
private |
Schedule initial and regular updates based on configured time interval.
Update.
Definition at line 136 of file __init__.py.
◆ _unit_system
| homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager._unit_system |
|
private |
◆ listeners
| homeassistant.components.geonetnz_volcano.GeonetnzVolcanoFeedEntityManager.listeners |
Stop this feed entity manager from refreshing.
Definition at line 137 of file __init__.py.
The documentation for this class was generated from the following file:
- core/homeassistant/components/geonetnz_volcano/__init__.py