mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Improve description of media_content_type
in media_extractor.play_media
action (#139559)
* Improve `media_content_type` in `media_extractor.play_media` action In the UI the `media_content_type` field of the `media_extractor.play_media` action already presents a selector with the choices MUSIC, TVSHOW, VIDEO, EPISODE, CHANNEL or PLAYLIST MUSIC. Therefore these can be removed from the field description to avoid any over-translation that will create an unnecessary mismatch in the UI. * Fix casing of `media_extractor.play_media` action name
This commit is contained in:
parent
2c620f1f60
commit
dfe1921737
@ -17,12 +17,12 @@
|
||||
},
|
||||
"media_content_type": {
|
||||
"name": "Media content type",
|
||||
"description": "The type of the content to play. Must be one of MUSIC, TVSHOW, VIDEO, EPISODE, CHANNEL or PLAYLIST MUSIC."
|
||||
"description": "The type of the content to play."
|
||||
}
|
||||
}
|
||||
},
|
||||
"extract_media_url": {
|
||||
"name": "Get Media URL",
|
||||
"name": "Get media URL",
|
||||
"description": "Extract media URL from a service.",
|
||||
"fields": {
|
||||
"url": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user