Classes | |
| class | UsgsEarthquakesEvent |
| class | UsgsEarthquakesFeedEntityManager |
Functions | |
| None | async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | ATTR_ALERT = "alert" |
| string | ATTR_EXTERNAL_ID = "external_id" |
| string | ATTR_MAGNITUDE = "magnitude" |
| string | ATTR_PLACE = "place" |
| string | ATTR_STATUS = "status" |
| string | ATTR_TYPE = "type" |
| string | ATTR_UPDATED = "updated" |
| string | CONF_FEED_TYPE = "feed_type" |
| string | CONF_MINIMUM_MAGNITUDE = "minimum_magnitude" |
| float | DEFAULT_MINIMUM_MAGNITUDE = 0.0 |
| float | DEFAULT_RADIUS_IN_KM = 50.0 |
| DEFAULT_UNIT_OF_MEASUREMENT = UnitOfLength.KILOMETERS | |
| PLATFORM_SCHEMA | |
| SCAN_INTERVAL = timedelta(minutes=5) | |
| string | SIGNAL_DELETE_ENTITY = "usgs_earthquakes_feed_delete_{}" |
| string | SIGNAL_UPDATE_ENTITY = "usgs_earthquakes_feed_update_{}" |
| string | SOURCE = "usgs_earthquakes_feed" |
| list | VALID_FEED_TYPES |
Support for U.S. Geological Survey Earthquake Hazards Program Feeds.
| None homeassistant.components.usgs_earthquakes_feed.geo_location.async_setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | async_add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
Set up the USGS Earthquake Hazards Program Feed platform.
Definition at line 100 of file geo_location.py.
|
private |
Definition at line 40 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_ALERT = "alert" |
Definition at line 42 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_EXTERNAL_ID = "external_id" |
Definition at line 43 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_MAGNITUDE = "magnitude" |
Definition at line 44 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_PLACE = "place" |
Definition at line 45 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_STATUS = "status" |
Definition at line 46 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_TYPE = "type" |
Definition at line 47 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.ATTR_UPDATED = "updated" |
Definition at line 48 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.CONF_FEED_TYPE = "feed_type" |
Definition at line 50 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.CONF_MINIMUM_MAGNITUDE = "minimum_magnitude" |
Definition at line 51 of file geo_location.py.
| float homeassistant.components.usgs_earthquakes_feed.geo_location.DEFAULT_MINIMUM_MAGNITUDE = 0.0 |
Definition at line 53 of file geo_location.py.
| float homeassistant.components.usgs_earthquakes_feed.geo_location.DEFAULT_RADIUS_IN_KM = 50.0 |
Definition at line 54 of file geo_location.py.
| homeassistant.components.usgs_earthquakes_feed.geo_location.DEFAULT_UNIT_OF_MEASUREMENT = UnitOfLength.KILOMETERS |
Definition at line 55 of file geo_location.py.
| homeassistant.components.usgs_earthquakes_feed.geo_location.PLATFORM_SCHEMA |
Definition at line 87 of file geo_location.py.
| homeassistant.components.usgs_earthquakes_feed.geo_location.SCAN_INTERVAL = timedelta(minutes=5) |
Definition at line 57 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.SIGNAL_DELETE_ENTITY = "usgs_earthquakes_feed_delete_{}" |
Definition at line 59 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.SIGNAL_UPDATE_ENTITY = "usgs_earthquakes_feed_update_{}" |
Definition at line 60 of file geo_location.py.
| string homeassistant.components.usgs_earthquakes_feed.geo_location.SOURCE = "usgs_earthquakes_feed" |
Definition at line 62 of file geo_location.py.
| list homeassistant.components.usgs_earthquakes_feed.geo_location.VALID_FEED_TYPES |
Definition at line 64 of file geo_location.py.