mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Improve scene.create service (#11099)
* Improve scene.create service * Update scene.markdown
This commit is contained in:
parent
a357654713
commit
f174ad7c1d
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user