Add scene.apply service (#27298)
* Add scene.apply service * Use return value entity ID validator" * Require entities field in service call * Simplify scene service
This commit is contained in:
1 parent
a51e0d7a5f
commit
f5bd0f29b4
4 files changed
+93
-54
No files matched your search
@@ -5,4 +5,18 @@ turn_on:
|
||||
fields:
|
||||
entity_id:
|
||||
description: Name(s) of scenes to turn on
|
||||
example: 'scene.romantic'
|
||||
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
|
||||
Reference in new issue
Block a user