diff --git a/homeassistant/components/led_ble/config_flow.py b/homeassistant/components/led_ble/config_flow.py index 55b7ed45793..44436180ea8 100644 --- a/homeassistant/components/led_ble/config_flow.py +++ b/homeassistant/components/led_ble/config_flow.py @@ -98,7 +98,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): self._discovered_devices[discovery.address] = discovery if not self._discovered_devices: - return self.async_abort(reason="no_unconfigured_devices") + return self.async_abort(reason="no_devices_found") data_schema = vol.Schema( { diff --git a/homeassistant/components/led_ble/strings.json b/homeassistant/components/led_ble/strings.json index 79540552575..e2be7e6deff 100644 --- a/homeassistant/components/led_ble/strings.json +++ b/homeassistant/components/led_ble/strings.json @@ -16,7 +16,6 @@ "not_supported": "Device not supported", "already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]", "already_configured": "[%key:common::config_flow::abort::already_configured_device%]", - "no_unconfigured_devices": "No unconfigured devices found.", "no_devices_found": "[%key:common::config_flow::abort::no_devices_found%]" } } diff --git a/tests/components/led_ble/test_config_flow.py b/tests/components/led_ble/test_config_flow.py index 3948a599260..947dc304bab 100644 --- a/tests/components/led_ble/test_config_flow.py +++ b/tests/components/led_ble/test_config_flow.py @@ -64,7 +64,7 @@ async def test_user_step_no_devices_found(hass: HomeAssistant) -> None: DOMAIN, context={"source": config_entries.SOURCE_USER} ) assert result["type"] == FlowResultType.ABORT - assert result["reason"] == "no_unconfigured_devices" + assert result["reason"] == "no_devices_found" async def test_user_step_no_new_devices_found(hass: HomeAssistant) -> None: @@ -85,7 +85,7 @@ async def test_user_step_no_new_devices_found(hass: HomeAssistant) -> None: DOMAIN, context={"source": config_entries.SOURCE_USER} ) assert result["type"] == FlowResultType.ABORT - assert result["reason"] == "no_unconfigured_devices" + assert result["reason"] == "no_devices_found" async def test_user_step_cannot_connect(hass: HomeAssistant) -> None: