mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 06:47:09 +00:00
Make Sonos action descriptions more UI- and translation-friendly (#137356)
This commit is contained in:
parent
79a9f3f2c6
commit
94f6daa09c
@ -87,7 +87,7 @@
|
|||||||
"services": {
|
"services": {
|
||||||
"snapshot": {
|
"snapshot": {
|
||||||
"name": "Snapshot",
|
"name": "Snapshot",
|
||||||
"description": "Takes a snapshot of the media player.",
|
"description": "Takes a snapshot of a media player.",
|
||||||
"fields": {
|
"fields": {
|
||||||
"entity_id": {
|
"entity_id": {
|
||||||
"name": "Entity",
|
"name": "Entity",
|
||||||
@ -95,13 +95,13 @@
|
|||||||
},
|
},
|
||||||
"with_group": {
|
"with_group": {
|
||||||
"name": "With group",
|
"name": "With group",
|
||||||
"description": "True or False. Also snapshot the group layout."
|
"description": "Whether the snapshot should include the group layout and the state of other speakers in the group."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"restore": {
|
"restore": {
|
||||||
"name": "Restore",
|
"name": "Restore",
|
||||||
"description": "Restores a snapshot of the media player.",
|
"description": "Restores a snapshot of a media player.",
|
||||||
"fields": {
|
"fields": {
|
||||||
"entity_id": {
|
"entity_id": {
|
||||||
"name": "Entity",
|
"name": "Entity",
|
||||||
@ -109,7 +109,7 @@
|
|||||||
},
|
},
|
||||||
"with_group": {
|
"with_group": {
|
||||||
"name": "[%key:component::sonos::services::snapshot::fields::with_group::name%]",
|
"name": "[%key:component::sonos::services::snapshot::fields::with_group::name%]",
|
||||||
"description": "True or False. Also restore the group layout."
|
"description": "Whether the group layout and the state of other speakers in the group should also be restored."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -129,7 +129,7 @@
|
|||||||
},
|
},
|
||||||
"play_queue": {
|
"play_queue": {
|
||||||
"name": "Play queue",
|
"name": "Play queue",
|
||||||
"description": "Start playing the queue from the first item.",
|
"description": "Starts playing the queue from the first item.",
|
||||||
"fields": {
|
"fields": {
|
||||||
"queue_position": {
|
"queue_position": {
|
||||||
"name": "Queue position",
|
"name": "Queue position",
|
||||||
@ -153,23 +153,23 @@
|
|||||||
"fields": {
|
"fields": {
|
||||||
"alarm_id": {
|
"alarm_id": {
|
||||||
"name": "Alarm ID",
|
"name": "Alarm ID",
|
||||||
"description": "ID for the alarm to be updated."
|
"description": "The ID of the alarm to be updated."
|
||||||
},
|
},
|
||||||
"time": {
|
"time": {
|
||||||
"name": "Time",
|
"name": "Time",
|
||||||
"description": "Set time for the alarm."
|
"description": "The time for the alarm."
|
||||||
},
|
},
|
||||||
"volume": {
|
"volume": {
|
||||||
"name": "Volume",
|
"name": "Volume",
|
||||||
"description": "Set alarm volume level."
|
"description": "The alarm volume level."
|
||||||
},
|
},
|
||||||
"enabled": {
|
"enabled": {
|
||||||
"name": "Alarm enabled",
|
"name": "Alarm enabled",
|
||||||
"description": "Enable or disable the alarm."
|
"description": "Whether or not to enable the alarm."
|
||||||
},
|
},
|
||||||
"include_linked_zones": {
|
"include_linked_zones": {
|
||||||
"name": "Include linked zones",
|
"name": "Include linked zones",
|
||||||
"description": "Enable or disable including grouped rooms."
|
"description": "Whether the alarm also plays on grouped players."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user