mirror of https://github.com/home-assistant/core
448 lines
10 KiB
Plaintext
448 lines
10 KiB
Plaintext
# serializer version: 1
|
|
# name: test_switch_state[Air Purifier 131s][devices]
|
|
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(
|
|
'vesync',
|
|
'air-purifier',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'VeSync',
|
|
'model': 'LV-PUR131S',
|
|
'model_id': None,
|
|
'name': 'Air Purifier 131s',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': None,
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': None,
|
|
}),
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Air Purifier 131s][entities]
|
|
list([
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Air Purifier 200s][devices]
|
|
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(
|
|
'vesync',
|
|
'asd_sdfKIHG7IJHGwJGJ7GJ_ag5h3G55',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'VeSync',
|
|
'model': 'Core200S',
|
|
'model_id': None,
|
|
'name': 'Air Purifier 200s',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': None,
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': None,
|
|
}),
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Air Purifier 200s][entities]
|
|
list([
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Air Purifier 400s][devices]
|
|
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(
|
|
'vesync',
|
|
'400s-purifier',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'VeSync',
|
|
'model': 'LAP-C401S-WJP',
|
|
'model_id': None,
|
|
'name': 'Air Purifier 400s',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': None,
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': None,
|
|
}),
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Air Purifier 400s][entities]
|
|
list([
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Air Purifier 600s][devices]
|
|
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(
|
|
'vesync',
|
|
'600s-purifier',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'VeSync',
|
|
'model': 'LAP-C601S-WUS',
|
|
'model_id': None,
|
|
'name': 'Air Purifier 600s',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': None,
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': None,
|
|
}),
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Air Purifier 600s][entities]
|
|
list([
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Dimmable Light][devices]
|
|
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(
|
|
'vesync',
|
|
'dimmable-bulb',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'VeSync',
|
|
'model': 'ESL100',
|
|
'model_id': None,
|
|
'name': 'Dimmable Light',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': None,
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': None,
|
|
}),
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Dimmable Light][entities]
|
|
list([
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Dimmer Switch][devices]
|
|
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(
|
|
'vesync',
|
|
'dimmable-switch',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'VeSync',
|
|
'model': 'ESWD16',
|
|
'model_id': None,
|
|
'name': 'Dimmer Switch',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': None,
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': None,
|
|
}),
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Dimmer Switch][entities]
|
|
list([
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Humidifier 200s][devices]
|
|
list([
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Humidifier 200s][entities]
|
|
list([
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Humidifier 600S][devices]
|
|
list([
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Humidifier 600S][entities]
|
|
list([
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Outlet][devices]
|
|
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(
|
|
'vesync',
|
|
'outlet',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'VeSync',
|
|
'model': 'wifi-switch-1.3',
|
|
'model_id': None,
|
|
'name': 'Outlet',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': None,
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': None,
|
|
}),
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Outlet][entities]
|
|
list([
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'switch',
|
|
'entity_category': None,
|
|
'entity_id': 'switch.outlet',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': None,
|
|
'platform': 'vesync',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': None,
|
|
'unique_id': 'outlet',
|
|
'unit_of_measurement': None,
|
|
}),
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Outlet][switch.outlet]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'Outlet',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.outlet',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|
|
# name: test_switch_state[Temperature Light][devices]
|
|
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(
|
|
'vesync',
|
|
'tunable-bulb',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'VeSync',
|
|
'model': 'ESL100CW',
|
|
'model_id': None,
|
|
'name': 'Temperature Light',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': None,
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': None,
|
|
}),
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Temperature Light][entities]
|
|
list([
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Wall Switch][devices]
|
|
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(
|
|
'vesync',
|
|
'switch',
|
|
),
|
|
}),
|
|
'is_new': False,
|
|
'labels': set({
|
|
}),
|
|
'manufacturer': 'VeSync',
|
|
'model': 'ESWL01',
|
|
'model_id': None,
|
|
'name': 'Wall Switch',
|
|
'name_by_user': None,
|
|
'primary_config_entry': <ANY>,
|
|
'serial_number': None,
|
|
'suggested_area': None,
|
|
'sw_version': None,
|
|
'via_device_id': None,
|
|
}),
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Wall Switch][entities]
|
|
list([
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'switch',
|
|
'entity_category': None,
|
|
'entity_id': 'switch.wall_switch',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': None,
|
|
'platform': 'vesync',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': None,
|
|
'unique_id': 'switch',
|
|
'unit_of_measurement': None,
|
|
}),
|
|
])
|
|
# ---
|
|
# name: test_switch_state[Wall Switch][switch.wall_switch]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'Wall Switch',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.wall_switch',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|