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>
This commit is contained in:
karwosts 2024-04-24 08:17:24 -07:00 committed by GitHub
parent fd6029e791
commit fd0da18bbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
```