mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Update Radius (#7900)
* Update Radius Clarified the radius parameter, and added it to the example. * Update geo_location.usgs_earthquakes_feed.markdown
This commit is contained in:
parent
370dae337d
commit
63a382be8e
@ -52,7 +52,7 @@ radius:
|
|||||||
description: The distance in kilometers around Home Assistant's coordinates in which seismic events are included.
|
description: The distance in kilometers around Home Assistant's coordinates in which seismic events are included.
|
||||||
required: false
|
required: false
|
||||||
type: float
|
type: float
|
||||||
default: 50km
|
default: 50
|
||||||
latitude:
|
latitude:
|
||||||
description: Latitude of the coordinates around which events are considered.
|
description: Latitude of the coordinates around which events are considered.
|
||||||
required: false
|
required: false
|
||||||
@ -107,3 +107,17 @@ The following state attributes are available for each entity in addition to the
|
|||||||
| updated | Date and time when this event was most recently updated. |
|
| updated | Date and time when this event was most recently updated. |
|
||||||
| status | Indicates whether the event has been reviewed by a human: "automatic", "reviewed", "deleted" |
|
| status | Indicates whether the event has been reviewed by a human: "automatic", "reviewed", "deleted" |
|
||||||
| type | Type of seismic event: "earthquake" or "quarry". |
|
| type | Type of seismic event: "earthquake" or "quarry". |
|
||||||
|
|
||||||
|
|
||||||
|
## {% linkable_title Full Configuration %}
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry
|
||||||
|
geo_location:
|
||||||
|
- platform: usgs_earthquakes_feed
|
||||||
|
feed_type: 'past_month_all_earthquakes'
|
||||||
|
radius: 50
|
||||||
|
minimum_magnitude: 0.0
|
||||||
|
latitude: 35.899722
|
||||||
|
longitude: -120.432778
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user