Migrate onewire to use async_update_entry to alter config entries (#110413)

This commit is contained in:
J. Nick Koston 2024-02-12 15:29:50 -06:00 committed by GitHub
parent 61610a5ef9
commit 8282018260
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -156,7 +156,7 @@ async def test_user_options_set_single(
) -> None:
"""Test configuring a single device."""
# 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)
await hass.async_block_till_done()