From 19adbab3418da90328657d3c3a2e58e9a78d17f1 Mon Sep 17 00:00:00 2001 From: Hoytron Date: Wed, 1 Apr 2020 13:19:34 +0200 Subject: [PATCH] Add feature history map (#12506) --- source/_lovelace/map.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/_lovelace/map.markdown b/source/_lovelace/map.markdown index eb2ae770851..611ad44655c 100644 --- a/source/_lovelace/map.markdown +++ b/source/_lovelace/map.markdown @@ -42,6 +42,11 @@ dark_mode: description: Enable a dark theme for the map. type: boolean default: false +hours_to_show: + required: false + description: Shows a path of previous locations. Hours to show as path on the map. + type: integer + default: 0 {% endconfiguration %}
@@ -74,3 +79,10 @@ geo_location_sources: entities: - zone.home ``` + +```yaml +type: map +entities: + - device_tracker.demo_paulus +hours_to_show: 48 +```