Home Assistant Unofficial Reference 2024.12.1
geo_location.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesEvent
 
class  homeassistant.components.usgs_earthquakes_feed.geo_location.UsgsEarthquakesFeedEntityManager
 

Namespaces

 homeassistant.components.usgs_earthquakes_feed.geo_location
 

Functions

None homeassistant.components.usgs_earthquakes_feed.geo_location.async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 homeassistant.components.usgs_earthquakes_feed.geo_location._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_ALERT = "alert"
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_EXTERNAL_ID = "external_id"
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_MAGNITUDE = "magnitude"
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_PLACE = "place"
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_STATUS = "status"
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_TYPE = "type"
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_UPDATED = "updated"
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.CONF_FEED_TYPE = "feed_type"
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.CONF_MINIMUM_MAGNITUDE = "minimum_magnitude"
 
float homeassistant.components.usgs_earthquakes_feed.geo_location.DEFAULT_MINIMUM_MAGNITUDE = 0.0
 
float homeassistant.components.usgs_earthquakes_feed.geo_location.DEFAULT_RADIUS_IN_KM = 50.0
 
 homeassistant.components.usgs_earthquakes_feed.geo_location.DEFAULT_UNIT_OF_MEASUREMENT = UnitOfLength.KILOMETERS
 
 homeassistant.components.usgs_earthquakes_feed.geo_location.PLATFORM_SCHEMA
 
 homeassistant.components.usgs_earthquakes_feed.geo_location.SCAN_INTERVAL = timedelta(minutes=5)
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.SIGNAL_DELETE_ENTITY = "usgs_earthquakes_feed_delete_{}"
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.SIGNAL_UPDATE_ENTITY = "usgs_earthquakes_feed_update_{}"
 
string homeassistant.components.usgs_earthquakes_feed.geo_location.SOURCE = "usgs_earthquakes_feed"
 
list homeassistant.components.usgs_earthquakes_feed.geo_location.VALID_FEED_TYPES