Namespaces | |
| config_flow | |
| const | |
| geo_location | |
| manager | |
Functions | |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| None | remove_orphaned_entities (HomeAssistant hass, str entry_id) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
The GeoJSON events component.
| bool homeassistant.components.geo_json_events.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry | ||
| ) |
Set up the GeoJSON events component as config entry.
Definition at line 18 of file __init__.py.
| bool homeassistant.components.geo_json_events.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload the GeoJSON events config entry.
Definition at line 49 of file __init__.py.
| None homeassistant.components.geo_json_events.remove_orphaned_entities | ( | HomeAssistant | hass, |
| str | entry_id | ||
| ) |
Remove orphaned geo_location entities. This is needed because when fetching data from the external feed this integration is determining which entities need to be added, updated or removed by comparing the current with the previous data. After a restart of Home Assistant the integration has no previous data to compare against, and thus all entities managed by this integration are removed after startup.
Definition at line 31 of file __init__.py.
|
private |
Definition at line 15 of file __init__.py.