From f4dfe7868b806423bc3b047423ab63477e64be5c Mon Sep 17 00:00:00 2001 From: Julian <130256240+j4n-e4t@users.noreply.github.com> Date: Wed, 16 Oct 2024 21:28:17 +0200 Subject: [PATCH] Fix translation string in hyperion (#128384) --- homeassistant/components/hyperion/strings.json | 3 +++ tests/components/hyperion/test_config_flow.py | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/hyperion/strings.json b/homeassistant/components/hyperion/strings.json index 79c226b71eb6d..0168264827793 100644 --- a/homeassistant/components/hyperion/strings.json +++ b/homeassistant/components/hyperion/strings.json @@ -52,6 +52,9 @@ "effect_show_list": "Hyperion effects to show" } } + }, + "abort": { + "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]" } }, "entity": { diff --git a/tests/components/hyperion/test_config_flow.py b/tests/components/hyperion/test_config_flow.py index d4436079df1c3..4109fe0f65314 100644 --- a/tests/components/hyperion/test_config_flow.py +++ b/tests/components/hyperion/test_config_flow.py @@ -9,7 +9,6 @@ from unittest.mock import AsyncMock, Mock, patch from hyperion import const -import pytest from homeassistant.components import ssdp from homeassistant.components.hyperion.const import ( @@ -824,10 +823,6 @@ async def test_options_effect_show_list(hass: HomeAssistant) -> None: assert result["data"][CONF_EFFECT_HIDE_LIST] == ["effect2"] -@pytest.mark.parametrize( # Remove when translations fixed - "ignore_translations", - ["component.hyperion.options.abort.cannot_connect"], -) async def test_options_effect_hide_list_cannot_connect(hass: HomeAssistant) -> None: """Check an options flow effect hide list with a failed connection."""