Minor improvement of zha test (#76993)
This commit is contained in:
parent
7a497c1e6e
commit
88a5b90489
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue