Skip to content

Commit

Permalink
fix translation in srp_energy (#130540)
Browse files Browse the repository at this point in the history
  • Loading branch information
briglx authored Nov 13, 2024
1 parent 5f68d40 commit 7fd337d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion homeassistant/components/srp_energy/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 0 additions & 4 deletions tests/components/srp_energy/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7fd337d

Please sign in to comment.