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 required: true
type: action type: action
state: state:
description: Template for the select's current value. 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: true required: false
type: template type: template
default: optimistic
{% endconfiguration %} {% endconfiguration %}
### State based select - Control Day/Night mode of a camera ### State based select - Control Day/Night mode of a camera