mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
Add support to entity registry for overriding device_class (#59985)
This commit is contained in:
@@ -118,7 +118,7 @@ async def test_sensor_entity_migration(
|
||||
f"{device_mac}-{dev_class}",
|
||||
suggested_object_id=f"hue_migrated_{dev_class}_sensor",
|
||||
device_id=device.id,
|
||||
device_class=dev_class,
|
||||
original_device_class=dev_class,
|
||||
)
|
||||
|
||||
# now run the migration and check results
|
||||
|
||||
Reference in New Issue
Block a user