hass-core/homeassistant/components/scene/services.yaml
Franck Nijhof 9ef62c7599
Migrate scene services to support translations (#96390)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-12 13:49:32 +02:00

54 lines
966 B
YAML

# Describes the format for available scene services
turn_on:
target:
entity:
domain: scene
fields:
transition:
selector:
number:
min: 0
max: 300
unit_of_measurement: seconds
reload:
apply:
fields:
entities:
required: true
example: |
light.kitchen: "on"
light.ceiling:
state: "on"
brightness: 80
selector:
object:
transition:
selector:
number:
min: 0
max: 300
unit_of_measurement: seconds
create:
fields:
scene_id:
required: true
example: all_lights
selector:
text:
entities:
example: |
light.tv_back_light: "on"
light.ceiling:
state: "on"
brightness: 200
selector:
object:
snapshot_entities:
example: |
- light.ceiling
- light.kitchen
selector:
object: