Improve scene.create service (#11099)

* Improve scene.create service

* Update scene.markdown
This commit is contained in:
Santobert 2019-11-07 11:31:51 +01:00 committed by Franck Nijhof
parent a357654713
commit f174ad7c1d

View File

@ -95,6 +95,8 @@ Create a new scene without having to configure it by calling the `scene.create`
You need to pass a `scene_id` in lowercase and with underscores instead of spaces. You also need to specify the entities in the same format as when configuring the scene. You need to pass a `scene_id` in lowercase and with underscores instead of spaces. You also need to specify the entities in the same format as when configuring the scene.
If the scene was previously created by `scene.create`, it will be overwritten. If the scene was created by YAML, nothing happens but a warning in your log files.
```yaml ```yaml
# Example automation # Example automation
automation: automation: