mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Add missing translation string to philips_js (#130637)
This commit is contained in:
parent
5f09eb97e1
commit
0d695c843f
@ -18,11 +18,11 @@
|
||||
"error": {
|
||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
||||
"unknown": "[%key:common::config_flow::error::unknown%]",
|
||||
"pairing_failure": "Unable to pair: {error_id}",
|
||||
"invalid_pin": "Invalid PIN"
|
||||
},
|
||||
"abort": {
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
||||
"pairing_failure": "Unable to pair: {error_id}",
|
||||
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
||||
}
|
||||
},
|
||||
|
@ -161,10 +161,6 @@ async def test_pairing(hass: HomeAssistant, mock_tv_pairable, mock_setup_entry)
|
||||
assert len(mock_setup_entry.mock_calls) == 1
|
||||
|
||||
|
||||
@pytest.mark.parametrize( # Remove when translations fixed
|
||||
"ignore_translations",
|
||||
["component.philips_js.config.abort.pairing_failure"],
|
||||
)
|
||||
async def test_pair_request_failed(
|
||||
hass: HomeAssistant, mock_tv_pairable, mock_setup_entry
|
||||
) -> None:
|
||||
@ -192,10 +188,6 @@ async def test_pair_request_failed(
|
||||
}
|
||||
|
||||
|
||||
@pytest.mark.parametrize( # Remove when translations fixed
|
||||
"ignore_translations",
|
||||
["component.philips_js.config.abort.pairing_failure"],
|
||||
)
|
||||
async def test_pair_grant_failed(
|
||||
hass: HomeAssistant, mock_tv_pairable, mock_setup_entry
|
||||
) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user