mirror of https://github.com/home-assistant/core
246 lines
5.7 KiB
Plaintext
246 lines
5.7 KiB
Plaintext
# serializer version: 1
|
|
# name: test_device_registry
|
|
list([
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': None,
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'velbus',
|
|
'1',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Velleman',
|
|
'model': 'VMB4RYLD',
|
|
'model_id': '99',
|
|
'name': 'Bedroom kid 1',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': 'a1b2c3d4e5f6',
|
|
'suggested_area': None,
|
|
'sw_version': '1.0.0',
|
|
'via_device_id': None,
|
|
}),
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': None,
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'velbus',
|
|
'88-9',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Velleman',
|
|
'model': 'VMB2BLE',
|
|
'model_id': '10',
|
|
'name': 'Basement',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': '1234',
|
|
'suggested_area': None,
|
|
'sw_version': '1.0.1',
|
|
'via_device_id': <ANY>,
|
|
}),
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': None,
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'velbus',
|
|
'88-11',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Velleman',
|
|
'model': 'VMB2BLE',
|
|
'model_id': '10',
|
|
'name': 'Basement',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': '12345',
|
|
'suggested_area': None,
|
|
'sw_version': '1.0.1',
|
|
'via_device_id': <ANY>,
|
|
}),
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': None,
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'velbus',
|
|
'88-10',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Velleman',
|
|
'model': 'VMBDN1',
|
|
'model_id': '9',
|
|
'name': 'Dimmer full name',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': 'a1b2c3d4e5f6g7',
|
|
'suggested_area': None,
|
|
'sw_version': '1.0.0',
|
|
'via_device_id': <ANY>,
|
|
}),
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': None,
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'velbus',
|
|
'88-2',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Velleman',
|
|
'model': 'VMB7IN',
|
|
'model_id': '4',
|
|
'name': 'Input',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': 'a1b2c3d4e5f6',
|
|
'suggested_area': None,
|
|
'sw_version': '1.0.0',
|
|
'via_device_id': <ANY>,
|
|
}),
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': None,
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'velbus',
|
|
'88',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Velleman',
|
|
'model': 'VMB4GPO',
|
|
'model_id': '1',
|
|
'name': 'Living room',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': 'asdfghjk',
|
|
'suggested_area': None,
|
|
'sw_version': '3.0.0',
|
|
'via_device_id': None,
|
|
}),
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': None,
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'velbus',
|
|
'2',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Velleman',
|
|
'model': 'VMB7IN',
|
|
'model_id': '8',
|
|
'name': 'Input',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': 'a1b2c3d4e5f6',
|
|
'suggested_area': None,
|
|
'sw_version': '1.0.0',
|
|
'via_device_id': None,
|
|
}),
|
|
DeviceRegistryEntrySnapshot({
|
|
'area_id': None,
|
|
'config_entries': <ANY>,
|
|
'configuration_url': None,
|
|
'connections': set({
|
|
}),
|
|
'disabled_by': None,
|
|
'entry_type': None,
|
|
'hw_version': None,
|
|
'id': <ANY>,
|
|
'identifiers': set({
|
|
tuple(
|
|
'velbus',
|
|
'88-55',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'Velleman',
|
|
'model': 'VMB4RYNO',
|
|
'model_id': '2',
|
|
'name': 'Living room',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': 'qwerty123',
|
|
'suggested_area': None,
|
|
'sw_version': '1.0.1',
|
|
'via_device_id': <ANY>,
|
|
}),
|
|
])
|
|
# ---
|