mirror of
https://github.com/home-assistant/core.git
synced 2026-12-03 04:08:19 -04:00
Assert the unique ID in the SwitchBot curtain flow test (#186220)
This commit is contained in:
@@ -120,6 +120,7 @@ async def test_bluetooth_discovery_curtain_options(
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert result["type"] is FlowResultType.CREATE_ENTRY
|
||||
assert result["result"].unique_id == "aabbccddeeff"
|
||||
assert result["data"][CONF_SENSOR_TYPE] == sensor_type
|
||||
assert result["options"] == {
|
||||
CONF_RETRY_COUNT: DEFAULT_RETRY_COUNT,
|
||||
|
||||
Reference in New Issue
Block a user