Small fixes to user-facing strings of webostv (#149359)

This commit is contained in:
Norbert Rittel 2025-07-24 10:53:33 +02:00 committed by GitHub
parent d85ffee27a
commit f458ede468
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@
} }
}, },
"pairing": { "pairing": {
"title": "LG webOS TV Pairing", "title": "LG webOS TV pairing",
"description": "Select **Submit** and accept the pairing request on your TV.\n\n![Image](/static/images/config_webos.png)" "description": "Select **Submit** and accept the pairing request on your TV.\n\n![Image](/static/images/config_webos.png)"
}, },
"reauth_confirm": { "reauth_confirm": {
@ -37,7 +37,7 @@
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]", "already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]", "reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]", "reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]",
"wrong_device": "The configured device is not the same found on this Hostname or IP address." "wrong_device": "The configured device is not the same found at this hostname or IP address."
} }
}, },
"options": { "options": {
@ -70,7 +70,7 @@
"fields": { "fields": {
"entity_id": { "entity_id": {
"name": "Entity", "name": "Entity",
"description": "Name(s) of the webostv entities where to run the API method." "description": "Name(s) of the webOS TV entities where to run the API method."
}, },
"button": { "button": {
"name": "Button", "name": "Button",
@ -92,7 +92,7 @@
}, },
"payload": { "payload": {
"name": "Payload", "name": "Payload",
"description": "An optional payload to provide to the endpoint in the format of key value pair(s)." "description": "An optional payload to provide to the endpoint in the format of key value pairs."
} }
} }
}, },
@ -102,7 +102,7 @@
"fields": { "fields": {
"entity_id": { "entity_id": {
"name": "Entity", "name": "Entity",
"description": "Name(s) of the webostv entities to change sound output on." "description": "Name(s) of the webOS TV entities to change sound output on."
}, },
"sound_output": { "sound_output": {
"name": "Sound output", "name": "Sound output",
@ -134,7 +134,7 @@
"message": "Unknown trigger platform: {platform}" "message": "Unknown trigger platform: {platform}"
}, },
"invalid_entity_id": { "invalid_entity_id": {
"message": "Entity {entity_id} is not a valid webostv entity." "message": "Entity {entity_id} is not a valid webOS TV entity."
}, },
"source_not_found": { "source_not_found": {
"message": "Source {source} not found in the sources list for {name}." "message": "Source {source} not found in the sources list for {name}."

View File

@ -182,4 +182,4 @@ async def test_trigger_invalid_entity_id(
}, },
) )
assert f"Entity {invalid_entity} is not a valid {DOMAIN} entity" in caplog.text assert f"Entity {invalid_entity} is not a valid webOS TV entity" in caplog.text