mirror of https://github.com/home-assistant/core
130 lines
3.0 KiB
Plaintext
130 lines
3.0 KiB
Plaintext
# serializer version: 1
|
|
# name: test_devices[{('teslemetry', '123456')}]
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': 'https://teslemetry.com/console',
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'teslemetry',
|
|
'123456',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Tesla',
|
|
'model': 'Powerwall 2, Tesla Backup Gateway 2',
|
|
'model_id': None,
|
|
'name': 'Energy Site',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': '123456',
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': None,
|
|
})
|
|
# ---
|
|
# name: test_devices[{('teslemetry', 'LRWXF7EK4KC700000')}]
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': 'https://teslemetry.com/console',
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'teslemetry',
|
|
'LRWXF7EK4KC700000',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Tesla',
|
|
'model': 'Model X',
|
|
'model_id': None,
|
|
'name': 'Test',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': 'LRWXF7EK4KC700000',
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': None,
|
|
})
|
|
# ---
|
|
# name: test_devices[{('teslemetry', 'abd-123')}]
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': 'https://teslemetry.com/console',
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'teslemetry',
|
|
'abd-123',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Tesla',
|
|
'model': 'Gen 3 Wall Connector',
|
|
'model_id': None,
|
|
'name': 'Wall Connector',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': '123',
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': <ANY>,
|
|
})
|
|
# ---
|
|
# name: test_devices[{('teslemetry', 'bcd-234')}]
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': 'https://teslemetry.com/console',
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'teslemetry',
|
|
'bcd-234',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Tesla',
|
|
'model': 'Gen 3 Wall Connector',
|
|
'model_id': None,
|
|
'name': 'Wall Connector',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': '234',
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': <ANY>,
|
|
})
|
|
# ---
|