From 83ace00e1426e2d3d0f9f1b0d6f520ae62fc4ac9 Mon Sep 17 00:00:00 2001 From: Manu <4445816+tr4nt0r@users.noreply.github.com> Date: Tue, 27 Jan 2026 21:48:38 +0100 Subject: [PATCH] Rename add-on to app in motionEye discovery flow (#161707) --- homeassistant/components/motioneye/config_flow.py | 2 +- homeassistant/components/motioneye/strings.json | 4 ++-- tests/components/motioneye/test_config_flow.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/motioneye/config_flow.py b/homeassistant/components/motioneye/config_flow.py index 7704fb68412..7ca6d9dfceb 100644 --- a/homeassistant/components/motioneye/config_flow.py +++ b/homeassistant/components/motioneye/config_flow.py @@ -143,7 +143,7 @@ class MotionEyeConfigFlow(ConfigFlow, domain=DOMAIN): title = user_input[CONF_URL] if self._hassio_discovery: - title = "Add-on" + title = "App" return self.async_create_entry( title=title, diff --git a/homeassistant/components/motioneye/strings.json b/homeassistant/components/motioneye/strings.json index 09a48a8cdf8..f612a149a42 100644 --- a/homeassistant/components/motioneye/strings.json +++ b/homeassistant/components/motioneye/strings.json @@ -12,8 +12,8 @@ }, "step": { "hassio_confirm": { - "description": "Do you want to configure Home Assistant to connect to the motionEye service provided by the add-on: {addon}?", - "title": "motionEye via Home Assistant add-on" + "description": "Do you want to configure Home Assistant to connect to the motionEye service provided by the app: {addon}?", + "title": "motionEye via Home Assistant app" }, "user": { "data": { diff --git a/tests/components/motioneye/test_config_flow.py b/tests/components/motioneye/test_config_flow.py index f3c4820ff90..54e9dabbc30 100644 --- a/tests/components/motioneye/test_config_flow.py +++ b/tests/components/motioneye/test_config_flow.py @@ -121,7 +121,7 @@ async def test_hassio_success(hass: HomeAssistant) -> None: await hass.async_block_till_done() assert result3.get("type") is FlowResultType.CREATE_ENTRY - assert result3.get("title") == "Add-on" + assert result3.get("title") == "App" assert result3.get("data") == { CONF_URL: TEST_URL, CONF_ADMIN_USERNAME: "admin-username",