Files
home-assistant-core/homeassistant/components/scene/services.yaml
T
Santobert 6655b7db2c Add scene.create service (#28300)
* Initial commit

* Fix scene.create
2019-11-01 15:53:42 -07:00

37 lines
913 B
YAML

# Describes the format for available scene services
turn_on:
description: Activate a scene.
fields:
entity_id:
description: Name(s) of scenes to turn on
example: "scene.romantic"
reload:
description: Reload the scene configuration
apply:
description: Activate a scene. Takes same data as the entities field from a single scene in the config.
fields:
entities:
description: The entities and the state that they need to be.
example:
light.kitchen: "on"
light.ceiling:
state: "on"
brightness: 80
create:
description: Creates a new scene.
fields:
scene_id:
description: The entity_id of the new scene.
example: all_lights
entities:
description: The entities to control with the scene.
example:
light.tv_back_light: "on"
light.ceiling:
state: "on"
brightness: 200