Add example lovelace map card (#16329)

This commit is contained in:
Phil Hollenback 2021-01-28 05:26:47 -08:00 committed by GitHub
parent 55df27924f
commit a62b3c47c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,3 +118,15 @@ geo_location:
latitude: 35.899722
longitude: -120.432778
```
## Card Example
Assuming you configure this service using `feed_type: past_week_all_earthquakes`, you can create a corresponding map card in the Lovelace UI with the following card:
```yaml
type: map
name: Earthquakes
geo_location_sources:
- usgs_earthquakes_feed
entities:
- zone.home
title: Nearby Earthquakes Last Week
```