Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.gdacs.geo_location Namespace Reference

Classes

class  GdacsEvent
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_ALERT_LEVEL = "alert_level"
 
string ATTR_COUNTRY = "country"
 
string ATTR_DESCRIPTION = "description"
 
string ATTR_DURATION_IN_WEEK = "duration_in_week"
 
string ATTR_EVENT_TYPE = "event_type"
 
string ATTR_EXTERNAL_ID = "external_id"
 
string ATTR_FROM_DATE = "from_date"
 
string ATTR_POPULATION = "population"
 
string ATTR_SEVERITY = "severity"
 
string ATTR_TO_DATE = "to_date"
 
string ATTR_VULNERABILITY = "vulnerability"
 
dictionary ICONS
 
int PARALLEL_UPDATES = 0
 
string SOURCE = "gdacs"
 

Detailed Description

Geolocation support for GDACS Feed.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.gdacs.geo_location.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the GDACS Feed platform.

Definition at line 54 of file geo_location.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.gdacs.geo_location._LOGGER = logging.getLogger(__name__)
private

Definition at line 25 of file geo_location.py.

◆ ATTR_ALERT_LEVEL

string homeassistant.components.gdacs.geo_location.ATTR_ALERT_LEVEL = "alert_level"

Definition at line 27 of file geo_location.py.

◆ ATTR_COUNTRY

string homeassistant.components.gdacs.geo_location.ATTR_COUNTRY = "country"

Definition at line 28 of file geo_location.py.

◆ ATTR_DESCRIPTION

string homeassistant.components.gdacs.geo_location.ATTR_DESCRIPTION = "description"

Definition at line 29 of file geo_location.py.

◆ ATTR_DURATION_IN_WEEK

string homeassistant.components.gdacs.geo_location.ATTR_DURATION_IN_WEEK = "duration_in_week"

Definition at line 30 of file geo_location.py.

◆ ATTR_EVENT_TYPE

string homeassistant.components.gdacs.geo_location.ATTR_EVENT_TYPE = "event_type"

Definition at line 31 of file geo_location.py.

◆ ATTR_EXTERNAL_ID

string homeassistant.components.gdacs.geo_location.ATTR_EXTERNAL_ID = "external_id"

Definition at line 32 of file geo_location.py.

◆ ATTR_FROM_DATE

string homeassistant.components.gdacs.geo_location.ATTR_FROM_DATE = "from_date"

Definition at line 33 of file geo_location.py.

◆ ATTR_POPULATION

string homeassistant.components.gdacs.geo_location.ATTR_POPULATION = "population"

Definition at line 34 of file geo_location.py.

◆ ATTR_SEVERITY

string homeassistant.components.gdacs.geo_location.ATTR_SEVERITY = "severity"

Definition at line 35 of file geo_location.py.

◆ ATTR_TO_DATE

string homeassistant.components.gdacs.geo_location.ATTR_TO_DATE = "to_date"

Definition at line 36 of file geo_location.py.

◆ ATTR_VULNERABILITY

string homeassistant.components.gdacs.geo_location.ATTR_VULNERABILITY = "vulnerability"

Definition at line 37 of file geo_location.py.

◆ ICONS

dictionary homeassistant.components.gdacs.geo_location.ICONS
Initial value:
1 = {
2  "DR": "mdi:water-off",
3  "EQ": "mdi:pulse",
4  "FL": "mdi:home-flood",
5  "TC": "mdi:weather-hurricane",
6  "TS": "mdi:waves",
7  "VO": "mdi:image-filter-hdr",
8 }

Definition at line 39 of file geo_location.py.

◆ PARALLEL_UPDATES

int homeassistant.components.gdacs.geo_location.PARALLEL_UPDATES = 0

Definition at line 49 of file geo_location.py.

◆ SOURCE

string homeassistant.components.gdacs.geo_location.SOURCE = "gdacs"

Definition at line 51 of file geo_location.py.