Feed Entity Manager for USGS Earthquake Hazards Program feed.
Definition at line 134 of file geo_location.py.
◆ __init__()
| None homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
AddEntitiesCallback |
async_add_entities, |
|
|
timedelta |
scan_interval, |
|
|
tuple[float, float] |
coordinates, |
|
|
str |
feed_type, |
|
|
float |
radius_in_km, |
|
|
float |
minimum_magnitude |
|
) |
| |
◆ _generate_entity()
| None homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager._generate_entity |
( |
|
self, |
|
|
str |
external_id |
|
) |
| |
|
private |
◆ _remove_entity()
| None homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager._remove_entity |
( |
|
self, |
|
|
str |
external_id |
|
) |
| |
|
private |
◆ _update_entity()
| None homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager._update_entity |
( |
|
self, |
|
|
str |
external_id |
|
) |
| |
|
private |
◆ async_init()
| None homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager.async_init |
( |
|
self | ) |
|
Schedule initial and regular updates based on configured time interval.
Definition at line 164 of file geo_location.py.
◆ async_update()
| None homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager.async_update |
( |
|
self | ) |
|
◆ get_entry()
| UsgsEarthquakeHazardsProgramFeedEntry | None homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager.get_entry |
( |
|
self, |
|
|
str
|
external_id |
|
) |
| |
◆ _async_add_entities
| homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager._async_add_entities |
|
private |
◆ _feed_manager
| homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager._feed_manager |
|
private |
◆ _hass
| homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager._hass |
|
private |
◆ _scan_interval
| homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager._scan_interval |
|
private |
The documentation for this class was generated from the following file: