Add assumed optimistic state to template selects. (#39949)

This commit is contained in:
Petro31 2025-07-10 01:08:17 -04:00 committed by GitHub
parent 38d136d1c2
commit 2b60e1e3b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1737,9 +1737,10 @@ select:
required: true
type: action
state:
description: Template for the select's current value.
required: true
description: Template for the select's current value. When omitted, the state will be set to the `option` provided by the `select_option` action.
required: false
type: template
default: optimistic
{% endconfiguration %}
### State based select - Control Day/Night mode of a camera