Add ShowOnMap flag to show each/hide entity on map (#12541)

* Add ShowOnMap flag to show each/hide entity on map

* Update tankerkoenig.markdown

* Update source/_integrations/tankerkoenig.markdown

Co-Authored-By: guillempages <guillempages@users.noreply.github.com>

* Update source/_integrations/tankerkoenig.markdown

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

* Update source/_integrations/tankerkoenig.markdown

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

* Update source/_integrations/tankerkoenig.markdown

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: guillempages <guillempages@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
FlavorFx 2020-04-03 15:28:30 +02:00 committed by GitHub
parent ec8a3c5cb3
commit bd6dd1d426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,11 @@ stations:
description: List of additional fuel stations to create entities for.
required: false
type: list
show_on_map:
description: Display all gas stations on map.
default: true
required: false
type: boolean
{% endconfiguration %}
## Full example
@ -87,6 +92,7 @@ tankerkoenig:
scan_interval: "0:10:01"
stations:
- 8531b393-1e42-423b-cb4d-e4b98cff8a0c
show_on_map: false
```
Assuming there are only two fuel stations within the specified range and location, you would get six sensor entities: