Replace object select in service calls with more UI-friendly selectors (#101722)

This commit is contained in:
Franck Nijhof 2023-10-10 05:50:12 +02:00 committed by GitHub
parent e5d5440385
commit 1944b2952c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 9 deletions

View File

@ -113,9 +113,9 @@ set_music_mode:
example: "[255, 100, 100]"
required: false
selector:
object:
color_rgb:
background_color:
example: "[255, 100, 100]"
required: false
selector:
object:
color_rgb:

View File

@ -18,15 +18,18 @@ set:
entities:
example: domain.entity_id1, domain.entity_id2
selector:
object:
entity:
multiple: true
add_entities:
example: domain.entity_id1, domain.entity_id2
selector:
object:
entity:
multiple: true
remove_entities:
example: domain.entity_id1, domain.entity_id2
selector:
object:
entity:
multiple: true
all:
selector:
boolean:

View File

@ -422,7 +422,7 @@ toggle:
advanced: true
example: "[255, 100, 100]"
selector:
object:
color_rgb:
color_name:
filter:
attribute:

View File

@ -15,7 +15,7 @@ publish:
advanced: true
example: "{{ states('sensor.temperature') }}"
selector:
object:
template:
qos:
advanced: true
default: 0

View File

@ -51,4 +51,5 @@ create:
- light.ceiling
- light.kitchen
selector:
object:
entity:
multiple: true

View File

@ -25,7 +25,7 @@ set_color_scene:
rgb_color:
example: "[255, 100, 100]"
selector:
object:
color_rgb:
brightness:
selector:
number: