mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Migrate onewire to use async_update_entry to alter config entries (#110413)
This commit is contained in:
parent
61610a5ef9
commit
8282018260
@ -156,7 +156,7 @@ async def test_user_options_set_single(
|
|||||||
) -> None:
|
) -> None:
|
||||||
"""Test configuring a single device."""
|
"""Test configuring a single device."""
|
||||||
# Clear config options to certify functionality when starting from scratch
|
# Clear config options to certify functionality when starting from scratch
|
||||||
config_entry.options = {}
|
hass.config_entries.async_update_entry(config_entry, options={})
|
||||||
|
|
||||||
assert await hass.config_entries.async_setup(config_entry.entry_id)
|
assert await hass.config_entries.async_setup(config_entry.entry_id)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user