Add the options dark_mode_filter and dark_mode_image to the picture elements card (#15169)

This commit is contained in:
Santobert 2020-10-21 00:18:38 +02:00 committed by GitHub
parent c9ffed9dc3
commit b62eacb578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,14 @@ theme:
required: false
description: "Set to any theme within `themes.yaml`"
type: string
dark_mode_image:
required: false
description: "This image is used when the dark mode is activated and no state image is set."
type: string
dark_mode_filter:
required: false
description: "This CSS filter is used when the dark mode is activated."
type: string
{% endconfiguration %}
## Elements