Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, AddEntitiesCallback add_entities, timedelta scan_interval, tuple[float, float] coordinates, float radius_in_km, list[str] categories)
 
QldBushfireAlertFeedEntry|None get_entry (self, str external_id)
 
None startup (self)
 

Private Member Functions

None _generate_entity (self, str external_id)
 
None _init_regular_updates (self)
 
None _remove_entity (self, str external_id)
 
None _update_entity (self, str external_id)
 

Private Attributes

 _add_entities
 
 _feed_manager
 
 _hass
 
 _scan_interval
 

Detailed Description

Feed Entity Manager for Qld Bushfire Alert GeoRSS feed.

Definition at line 100 of file geo_location.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager.__init__ (   self,
HomeAssistant  hass,
AddEntitiesCallback  add_entities,
timedelta  scan_interval,
tuple[float, float]  coordinates,
float  radius_in_km,
list[str]  categories 
)
Initialize the Feed Entity Manager.

Definition at line 103 of file geo_location.py.

Member Function Documentation

◆ _generate_entity()

None homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager._generate_entity (   self,
str  external_id 
)
private
Generate new entity.

Definition at line 143 of file geo_location.py.

◆ _init_regular_updates()

None homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager._init_regular_updates (   self)
private
Schedule regular updates at the specified interval.

Definition at line 130 of file geo_location.py.

◆ _remove_entity()

None homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager._remove_entity (   self,
str  external_id 
)
private
Remove entity.

Definition at line 153 of file geo_location.py.

◆ _update_entity()

None homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager._update_entity (   self,
str  external_id 
)
private
Update entity.

Definition at line 149 of file geo_location.py.

◆ get_entry()

QldBushfireAlertFeedEntry | None homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager.get_entry (   self,
str  external_id 
)
Get feed entry by external id.

Definition at line 139 of file geo_location.py.

◆ startup()

None homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager.startup (   self)
Start up this manager.

Definition at line 125 of file geo_location.py.

Member Data Documentation

◆ _add_entities

homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager._add_entities
private

Definition at line 122 of file geo_location.py.

◆ _feed_manager

homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager._feed_manager
private

Definition at line 114 of file geo_location.py.

◆ _hass

homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager._hass
private

Definition at line 113 of file geo_location.py.

◆ _scan_interval

homeassistant.components.qld_bushfire.geo_location.QldBushfireFeedEntityManager._scan_interval
private

Definition at line 123 of file geo_location.py.


The documentation for this class was generated from the following file: