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

Classes

class  GdacsSensor
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_CREATED = "created"
 
string ATTR_LAST_TIMESTAMP = "last_timestamp"
 
string ATTR_LAST_UPDATE = "last_update"
 
string ATTR_LAST_UPDATE_SUCCESSFUL = "last_update_successful"
 
string ATTR_REMOVED = "removed"
 
string ATTR_STATUS = "status"
 
string ATTR_UPDATED = "updated"
 
string DEFAULT_UNIT_OF_MEASUREMENT = "alerts"
 
int PARALLEL_UPDATES = 0
 

Detailed Description

Feed Entity Manager Sensor support for GDACS Feed.

Function Documentation

◆ async_setup_entry()

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

Definition at line 39 of file sensor.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 23 of file sensor.py.

◆ ATTR_CREATED

string homeassistant.components.gdacs.sensor.ATTR_CREATED = "created"

Definition at line 29 of file sensor.py.

◆ ATTR_LAST_TIMESTAMP

string homeassistant.components.gdacs.sensor.ATTR_LAST_TIMESTAMP = "last_timestamp"

Definition at line 28 of file sensor.py.

◆ ATTR_LAST_UPDATE

string homeassistant.components.gdacs.sensor.ATTR_LAST_UPDATE = "last_update"

Definition at line 26 of file sensor.py.

◆ ATTR_LAST_UPDATE_SUCCESSFUL

string homeassistant.components.gdacs.sensor.ATTR_LAST_UPDATE_SUCCESSFUL = "last_update_successful"

Definition at line 27 of file sensor.py.

◆ ATTR_REMOVED

string homeassistant.components.gdacs.sensor.ATTR_REMOVED = "removed"

Definition at line 31 of file sensor.py.

◆ ATTR_STATUS

string homeassistant.components.gdacs.sensor.ATTR_STATUS = "status"

Definition at line 25 of file sensor.py.

◆ ATTR_UPDATED

string homeassistant.components.gdacs.sensor.ATTR_UPDATED = "updated"

Definition at line 30 of file sensor.py.

◆ DEFAULT_UNIT_OF_MEASUREMENT

string homeassistant.components.gdacs.sensor.DEFAULT_UNIT_OF_MEASUREMENT = "alerts"

Definition at line 33 of file sensor.py.

◆ PARALLEL_UPDATES

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

Definition at line 36 of file sensor.py.