diff --git a/homeassistant/components/otbr/config_flow.py b/homeassistant/components/otbr/config_flow.py index ebdf5ddeace..104edc71ccd 100644 --- a/homeassistant/components/otbr/config_flow.py +++ b/homeassistant/components/otbr/config_flow.py @@ -75,6 +75,9 @@ async def _title(hass: HomeAssistant, discovery_info: HassioServiceInfo) -> str: if device and ("Connect_ZBT-1" in device or "SkyConnect" in device): return f"Home Assistant Connect ZBT-1 ({discovery_info.name})" + if device and "Nabu_Casa_ZBT-2" in device: + return f"Home Assistant Connect ZBT-2 ({discovery_info.name})" + return discovery_info.name diff --git a/tests/components/otbr/test_config_flow.py b/tests/components/otbr/test_config_flow.py index 1b6926a863c..6df5681d9e1 100644 --- a/tests/components/otbr/test_config_flow.py +++ b/tests/components/otbr/test_config_flow.py @@ -461,6 +461,10 @@ async def test_hassio_discovery_flow_yellow( "/dev/serial/by-id/usb-Nabu_Casa_Home_Assistant_Connect_ZBT-1_9e2adbd75b8beb119fe564a0f320645d-if00-port0", "Home Assistant Connect ZBT-1 (Silicon Labs Multiprotocol)", ), + ( + "/dev/serial/by-id/usb-Nabu_Casa_ZBT-2_10B41DE58A94-if00", + "Home Assistant Connect ZBT-2 (Silicon Labs Multiprotocol)", + ), ], ) @pytest.mark.usefixtures("get_border_agent_id")