Extended map to support geo location entities (#7880)

* new geo_location_source option for map

* ✏️ Typo
This commit is contained in:
Malte Franken 2018-12-30 18:05:49 +08:00 committed by Franck Nijhof
parent b88d70dd3e
commit 306898fc89

View File

@ -24,7 +24,11 @@ type:
type: string
entities:
required: true
description: List of entity IDs.
description: List of entity IDs. Either this or the `geo_location_sources` configuration option is required.
type: list
geo_location_sources:
required: true
description: List of geolocation sources. All current entities with that source will be displayed on the map. See [Geo Location](/components/geo_location/) platform for valid sources. Either this or the `entities` configuration option is required.
type: list
title:
required: false
@ -61,3 +65,11 @@ default_zoom:
- device_tracker.demo_paulus
- zone.home
```
```yaml
- type: map
geo_location_sources:
- nsw_rural_fire_service_feed
entities:
- zone.home
```