mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Use DeviceEntryType in non-typechecked code too (#58646)
This commit is contained in:
@@ -36,7 +36,7 @@ async def test_list_devices(hass, client, registry):
|
||||
manufacturer="manufacturer",
|
||||
model="model",
|
||||
via_device=("bridgeid", "0123"),
|
||||
entry_type="service",
|
||||
entry_type=helpers_dr.DeviceEntryType.SERVICE,
|
||||
)
|
||||
|
||||
await client.send_json({"id": 5, "type": "config/device_registry/list"})
|
||||
@@ -68,7 +68,7 @@ async def test_list_devices(hass, client, registry):
|
||||
"model": "model",
|
||||
"name": None,
|
||||
"sw_version": None,
|
||||
"entry_type": "service",
|
||||
"entry_type": helpers_dr.DeviceEntryType.SERVICE,
|
||||
"via_device_id": dev1,
|
||||
"area_id": None,
|
||||
"name_by_user": None,
|
||||
|
||||
Reference in New Issue
Block a user