mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Removed stale translation and improved set_setting
translation at Home Connect (#129878)
This commit is contained in:
parent
69e3348cd7
commit
080e3d7a42
@ -37,11 +37,8 @@
|
||||
"set_light_color": {
|
||||
"message": "Error while trying to set color of {entity_id}: {description}"
|
||||
},
|
||||
"set_light_effect": {
|
||||
"message": "Error while trying to set effect of {entity_id}: {description}"
|
||||
},
|
||||
"set_setting": {
|
||||
"message": "Error while trying to set \"{value}\" to \"{key}\" setting for {entity_id}: {description}"
|
||||
"message": "Error while trying to assign the value \"{value}\" to the setting \"{key}\" for {entity_id}: {description}"
|
||||
},
|
||||
"turn_on": {
|
||||
"message": "Error while trying to turn on {entity_id} ({key}): {description}"
|
||||
|
@ -161,7 +161,9 @@ async def test_number_entity_error(
|
||||
with pytest.raises(HomeConnectError):
|
||||
getattr(problematic_appliance, mock_attr)()
|
||||
|
||||
with pytest.raises(ServiceValidationError, match=r"Error.*set.*setting.*"):
|
||||
with pytest.raises(
|
||||
ServiceValidationError, match=r"Error.*assign.*value.*to.*setting.*"
|
||||
):
|
||||
await hass.services.async_call(
|
||||
NUMBER_DOMAIN,
|
||||
SERVICE_SET_VALUE,
|
||||
|
@ -135,7 +135,9 @@ async def test_time_entity_error(
|
||||
with pytest.raises(HomeConnectError):
|
||||
getattr(problematic_appliance, mock_attr)()
|
||||
|
||||
with pytest.raises(ServiceValidationError, match=r"Error.*set.*setting.*"):
|
||||
with pytest.raises(
|
||||
ServiceValidationError, match=r"Error.*assign.*value.*to.*setting.*"
|
||||
):
|
||||
await hass.services.async_call(
|
||||
TIME_DOMAIN,
|
||||
SERVICE_SET_VALUE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user