mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
Use EntityDescription - onewire (#55003)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user