From fd0da18bbf1369e6f44dee6c4b93654bab964d8e Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Wed, 24 Apr 2024 08:17:24 -0700 Subject: [PATCH] Replace map card `dark_mode` with `theme_mode` (#32352) * Update map.markdown for theme_mode * Update map.markdown --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_dashboards/map.markdown | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/_dashboards/map.markdown b/source/_dashboards/map.markdown index dbb024b2979..921b720db6a 100644 --- a/source/_dashboards/map.markdown +++ b/source/_dashboards/map.markdown @@ -63,11 +63,11 @@ default_zoom: description: The default zoom level of the map. type: integer default: 14 (or whatever zoom level is required to fit all visible markers) -dark_mode: +theme_mode: required: false - description: Enable a dark theme for the map. - type: boolean - default: false + description: 'Override the theme to force the map to display in either a light mode (`theme_mode: light`) or a dark mode (`theme_mode: dark`). Default (`theme_mode: auto`) will follow the theme settings.' + type: string + default: 'auto' hours_to_show: required: false description: Shows a path of previous locations. Hours to show as path on the map. @@ -141,3 +141,4 @@ entities: focus: false hours_to_show: 48 ``` +