fix translation in srp_energy (#130540)
This commit is contained in:
parent
5f68d405b2
commit
7fd337d67f
2 changed files with 2 additions and 5 deletions
|
@ -17,7 +17,8 @@
|
|||
"unknown": "[%key:common::config_flow::error::unknown%]"
|
||||
},
|
||||
"abort": {
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]",
|
||||
"unknown": "Unexpected error"
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
|
|
|
@ -100,10 +100,6 @@ async def test_form_invalid_auth(
|
|||
assert result["errors"] == {"base": "invalid_auth"}
|
||||
|
||||
|
||||
@pytest.mark.parametrize( # Remove when translations fixed
|
||||
"ignore_translations",
|
||||
["component.srp_energy.config.abort.unknown"],
|
||||
)
|
||||
async def test_form_unknown_error(
|
||||
hass: HomeAssistant,
|
||||
mock_srp_energy_config_flow: MagicMock,
|
||||
|
|
Loading…
Add table
Reference in a new issue