mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Add missing translation string to lg_netcast (#130635)
This commit is contained in:
parent
7418466064
commit
7c34f5ea56
@ -25,7 +25,8 @@
|
||||
},
|
||||
"abort": {
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
|
||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
||||
"invalid_host": "[%key:common::config_flow::error::invalid_host%]"
|
||||
}
|
||||
},
|
||||
"device_automation": {
|
||||
|
@ -3,8 +3,6 @@
|
||||
from datetime import timedelta
|
||||
from unittest.mock import DEFAULT, patch
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant import data_entry_flow
|
||||
from homeassistant.components.lg_netcast.const import DOMAIN
|
||||
from homeassistant.config_entries import SOURCE_USER
|
||||
@ -114,10 +112,6 @@ async def test_manual_host_unsuccessful_details_response(hass: HomeAssistant) ->
|
||||
assert result["reason"] == "cannot_connect"
|
||||
|
||||
|
||||
@pytest.mark.parametrize( # Remove when translations fixed
|
||||
"ignore_translations",
|
||||
["component.lg_netcast.config.abort.invalid_host"],
|
||||
)
|
||||
async def test_manual_host_no_unique_id_response(hass: HomeAssistant) -> None:
|
||||
"""Test manual host configuration."""
|
||||
with _patch_lg_netcast(no_unique_id=True):
|
||||
|
Loading…
x
Reference in New Issue
Block a user