Make strings of create_scene action UI- and translation-friendly ()

pull/136016/head
Norbert Rittel 2025-01-19 19:43:47 +01:00 committed by GitHub
parent 889f699e5d
commit 3ee2dc9790
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions
homeassistant/components/scene

View File

@ -38,12 +38,12 @@
"description": "The entity ID of the new scene." "description": "The entity ID of the new scene."
}, },
"entities": { "entities": {
"name": "Entities state", "name": "Entity states",
"description": "List of entities and their target state. If your entities are already in the target state right now, use `snapshot_entities` instead." "description": "List of entities and their target state. If your entities are already in the target state right now, use 'Entities snapshot' instead."
}, },
"snapshot_entities": { "snapshot_entities": {
"name": "Snapshot entities", "name": "Entities snapshot",
"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 the `snapshot_entities` with `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'."
} }
} }
}, },
@ -54,7 +54,7 @@
}, },
"exceptions": { "exceptions": {
"entity_not_scene": { "entity_not_scene": {
"message": "{entity_id} is not a valid scene entity_id." "message": "{entity_id} is not a valid entity ID of a scene."
}, },
"entity_not_dynamically_created": { "entity_not_dynamically_created": {
"message": "The scene {entity_id} is not created with action `scene.create`." "message": "The scene {entity_id} is not created with action `scene.create`."