Use EntityDescription - onewire (#55003)
This commit is contained in:
parent
2796f65453
commit
ccaf0d5c75
10 changed files with 836 additions and 721 deletions
|
@ -39,7 +39,7 @@ async def test_owserver_switch(owproxy, hass, device_id):
|
|||
# Force enable switches
|
||||
patch_device_switches = copy.deepcopy(DEVICE_SWITCHES)
|
||||
for item in patch_device_switches[device_id[0:2]]:
|
||||
item["default_disabled"] = False
|
||||
item.entity_registry_enabled_default = True
|
||||
|
||||
with patch(
|
||||
"homeassistant.components.onewire.PLATFORMS", [SWITCH_DOMAIN]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue