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

Classes

class  GeonetnzQuakesSensor
 

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_ICON = "mdi:pulse"
 
string DEFAULT_UNIT_OF_MEASUREMENT = "quakes"
 
int PARALLEL_UPDATES = 0
 

Detailed Description

Feed Entity Manager Sensor support for GeoNet NZ Quakes Feeds.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.geonetnz_quakes.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the GeoNet NZ Quakes Feed platform.

Definition at line 33 of file sensor.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 16 of file sensor.py.

◆ ATTR_CREATED

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

Definition at line 22 of file sensor.py.

◆ ATTR_LAST_TIMESTAMP

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

Definition at line 21 of file sensor.py.

◆ ATTR_LAST_UPDATE

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

Definition at line 19 of file sensor.py.

◆ ATTR_LAST_UPDATE_SUCCESSFUL

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

Definition at line 20 of file sensor.py.

◆ ATTR_REMOVED

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

Definition at line 24 of file sensor.py.

◆ ATTR_STATUS

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

Definition at line 18 of file sensor.py.

◆ ATTR_UPDATED

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

Definition at line 23 of file sensor.py.

◆ DEFAULT_ICON

string homeassistant.components.geonetnz_quakes.sensor.DEFAULT_ICON = "mdi:pulse"

Definition at line 26 of file sensor.py.

◆ DEFAULT_UNIT_OF_MEASUREMENT

string homeassistant.components.geonetnz_quakes.sensor.DEFAULT_UNIT_OF_MEASUREMENT = "quakes"

Definition at line 27 of file sensor.py.

◆ PARALLEL_UPDATES

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

Definition at line 30 of file sensor.py.