Add ruff rule PIE804 (#113620)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
d0352ed91d
commit
fe9cc6705c
32 changed files with 64 additions and 91 deletions
|
@ -57,7 +57,7 @@ async def test_switches(
|
|||
setup_owproxy_mock_devices(owproxy, Platform.SWITCH, [device_id])
|
||||
# Some entities are disabled, enable them and reload before checking states
|
||||
for ent in entity_entries:
|
||||
entity_registry.async_update_entity(ent.entity_id, **{"disabled_by": None})
|
||||
entity_registry.async_update_entity(ent.entity_id, disabled_by=None)
|
||||
await hass.config_entries.async_reload(config_entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue