From 88a5b90489af4ab98db382adaaefba41f4249b6f Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Thu, 18 Aug 2022 16:52:41 +0200 Subject: [PATCH] Minor improvement of zha test (#76993) --- tests/components/zha/test_config_flow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/components/zha/test_config_flow.py b/tests/components/zha/test_config_flow.py index 84290595f12..9a98b5e0caa 100644 --- a/tests/components/zha/test_config_flow.py +++ b/tests/components/zha/test_config_flow.py @@ -775,6 +775,7 @@ async def test_migration_ti_cc_to_znp(old_type, new_type, hass, config_entry): async def test_hardware_not_onboarded(hass): """Test hardware flow.""" data = { + "name": "Yellow", "radio_type": "efr32", "port": { "path": "/dev/ttyAMA1", @@ -790,7 +791,7 @@ async def test_hardware_not_onboarded(hass): ) assert result["type"] == FlowResultType.CREATE_ENTRY - assert result["title"] == "/dev/ttyAMA1" + assert result["title"] == "Yellow" assert result["data"] == { CONF_DEVICE: { CONF_BAUDRATE: 115200,