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]" example: "[255, 100, 100]"
required: false required: false
selector: selector:
object: color_rgb:
background_color: background_color:
example: "[255, 100, 100]" example: "[255, 100, 100]"
required: false required: false
selector: selector:
object: color_rgb:

View File

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

View File

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

View File

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

View File

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

View File

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