2018-01-07 22:54:16 +00:00
|
|
|
# Describes the format for available scene services
|
|
|
|
|
|
|
|
turn_on:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Activate
|
|
|
|
description: Activate a scene.
|
2021-02-18 12:56:15 +00:00
|
|
|
target:
|
2021-05-17 12:06:50 +00:00
|
|
|
entity:
|
|
|
|
domain: scene
|
2018-01-07 22:54:16 +00:00
|
|
|
fields:
|
2020-04-21 01:07:50 +00:00
|
|
|
transition:
|
2021-02-18 12:56:15 +00:00
|
|
|
name: Transition
|
2020-04-21 01:07:50 +00:00
|
|
|
description:
|
2021-05-25 12:45:17 +00:00
|
|
|
Transition duration it takes to bring devices to the state
|
2020-04-21 01:07:50 +00:00
|
|
|
defined in the scene.
|
2021-02-18 12:56:15 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 0
|
|
|
|
max: 300
|
|
|
|
unit_of_measurement: seconds
|
2019-10-08 16:59:32 +00:00
|
|
|
|
|
|
|
reload:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Reload
|
|
|
|
description: Reload the scene configuration.
|
2019-10-08 16:59:32 +00:00
|
|
|
|
|
|
|
apply:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Apply
|
|
|
|
description: Activate a scene with configuration.
|
2019-10-08 16:59:32 +00:00
|
|
|
fields:
|
|
|
|
entities:
|
2021-02-18 12:56:15 +00:00
|
|
|
name: Entities state
|
2019-10-08 16:59:32 +00:00
|
|
|
description: The entities and the state that they need to be.
|
2021-02-18 12:56:15 +00:00
|
|
|
required: true
|
2019-10-08 16:59:32 +00:00
|
|
|
example:
|
|
|
|
light.kitchen: "on"
|
|
|
|
light.ceiling:
|
|
|
|
state: "on"
|
|
|
|
brightness: 80
|
2021-02-18 12:56:15 +00:00
|
|
|
selector:
|
|
|
|
object:
|
|
|
|
transition:
|
|
|
|
name: Transition
|
|
|
|
description:
|
2021-05-25 12:45:17 +00:00
|
|
|
Transition duration it takes to bring devices to the state
|
2021-02-18 12:56:15 +00:00
|
|
|
defined in the scene.
|
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 0
|
|
|
|
max: 300
|
|
|
|
unit_of_measurement: seconds
|
2019-11-01 22:53:42 +00:00
|
|
|
|
|
|
|
create:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Create
|
|
|
|
description: Creates a new scene.
|
2019-11-01 22:53:42 +00:00
|
|
|
fields:
|
|
|
|
scene_id:
|
2021-02-18 12:56:15 +00:00
|
|
|
name: Scene entity ID
|
2019-11-01 22:53:42 +00:00
|
|
|
description: The entity_id of the new scene.
|
2021-02-18 12:56:15 +00:00
|
|
|
required: true
|
2019-11-01 22:53:42 +00:00
|
|
|
example: all_lights
|
2021-02-18 12:56:15 +00:00
|
|
|
selector:
|
|
|
|
text:
|
2019-11-01 22:53:42 +00:00
|
|
|
entities:
|
2021-02-18 12:56:15 +00:00
|
|
|
name: Entities state
|
2019-11-01 22:53:42 +00:00
|
|
|
description: The entities to control with the scene.
|
|
|
|
example:
|
|
|
|
light.tv_back_light: "on"
|
|
|
|
light.ceiling:
|
|
|
|
state: "on"
|
|
|
|
brightness: 200
|
2021-02-18 12:56:15 +00:00
|
|
|
selector:
|
|
|
|
object:
|
2019-11-22 21:21:28 +00:00
|
|
|
snapshot_entities:
|
2021-02-18 12:56:15 +00:00
|
|
|
name: Snapshot entities
|
2019-11-22 21:21:28 +00:00
|
|
|
description: The entities of which a snapshot is to be taken
|
|
|
|
example:
|
|
|
|
- light.ceiling
|
|
|
|
- light.kitchen
|
2021-02-18 12:56:15 +00:00
|
|
|
selector:
|
|
|
|
object:
|