mirror of
https://github.com/home-assistant/core.git
synced 2026-04-02 08:26:41 +01:00
70 lines
2.2 KiB
JSON
70 lines
2.2 KiB
JSON
{
|
|
"exceptions": {
|
|
"entity_not_dynamically_created": {
|
|
"message": "The scene {entity_id} is not created with action `scene.create`."
|
|
},
|
|
"entity_not_scene": {
|
|
"message": "{entity_id} is not a valid entity ID of a scene."
|
|
}
|
|
},
|
|
"services": {
|
|
"apply": {
|
|
"description": "Activates a scene with configuration.",
|
|
"fields": {
|
|
"entities": {
|
|
"description": "List of entities and their target state.",
|
|
"name": "Entities state"
|
|
},
|
|
"transition": {
|
|
"description": "Time it takes the devices to transition into the states defined in the scene.",
|
|
"name": "Transition"
|
|
}
|
|
},
|
|
"name": "Apply scene"
|
|
},
|
|
"create": {
|
|
"description": "Creates a new scene.",
|
|
"fields": {
|
|
"entities": {
|
|
"description": "List of entities and their target state. If your entities are already in the target state right now, use 'Entities snapshot' instead.",
|
|
"name": "Entity states"
|
|
},
|
|
"scene_id": {
|
|
"description": "The entity ID of the new scene.",
|
|
"name": "Scene entity ID"
|
|
},
|
|
"snapshot_entities": {
|
|
"description": "List of entities to be included in the snapshot. By taking a snapshot, you record the current state of those entities. If you do not want to use the current state of all your entities for this scene, you can combine 'Entities snapshot' with 'Entity states'.",
|
|
"name": "Entities snapshot"
|
|
}
|
|
},
|
|
"name": "Create scene"
|
|
},
|
|
"delete": {
|
|
"description": "Deletes a dynamically created scene.",
|
|
"name": "Delete scene"
|
|
},
|
|
"reload": {
|
|
"description": "Reloads the scenes from the YAML-configuration.",
|
|
"name": "Reload scenes"
|
|
},
|
|
"turn_on": {
|
|
"description": "Activates a scene.",
|
|
"fields": {
|
|
"transition": {
|
|
"description": "Time it takes the devices to transition into the states defined in the scene.",
|
|
"name": "Transition"
|
|
}
|
|
},
|
|
"name": "Activate scene"
|
|
}
|
|
},
|
|
"title": "Scene",
|
|
"triggers": {
|
|
"activated": {
|
|
"description": "Triggers when a scene was activated",
|
|
"name": "Scene activated"
|
|
}
|
|
}
|
|
}
|