From e954dbddf4f5b2996aa68715d62dafbf6e6972d7 Mon Sep 17 00:00:00 2001 From: Voydz Date: Wed, 20 Jul 2022 09:07:15 +0200 Subject: [PATCH] Document `auto_fit` config option (#23457) --- source/_dashboards/map.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/_dashboards/map.markdown b/source/_dashboards/map.markdown index 7f32ef7af7c..c4cfb69d554 100644 --- a/source/_dashboards/map.markdown +++ b/source/_dashboards/map.markdown @@ -27,6 +27,11 @@ geo_location_sources: required: true description: List of geolocation sources. All current entities with that source will be displayed on the map. See [Geolocation](/integrations/geo_location/) platform for valid sources. Set to `all` to use all available sources. Either this or the `entities` configuration option is required. type: list +auto_fit: + required: false + description: The map will follow moving `entities` by adjusting the viewport of the map each time an entity is updated. + type: boolean + default: false title: required: false description: The card title. @@ -72,6 +77,7 @@ The card can also be configured using YAML, some examples below: type: map aspect_ratio: 16:9 default_zoom: 8 +auto_fit: true entities: - device_tracker.demo_paulus - zone.home