2024-01-31 15:05:41 +00:00
|
|
|
# serializer version: 1
|
|
|
|
# name: test_switch_entities[yna5x1][switch.ozmo_950_advanced_mode:entity-registry]
|
|
|
|
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': <EntityCategory.CONFIG: 'config'>,
|
|
|
|
'entity_id': 'switch.ozmo_950_advanced_mode',
|
|
|
|
'has_entity_name': True,
|
|
|
|
'hidden_by': None,
|
|
|
|
'icon': None,
|
|
|
|
'id': <ANY>,
|
2024-02-19 10:59:08 +00:00
|
|
|
'labels': set({
|
|
|
|
}),
|
2024-01-31 15:05:41 +00:00
|
|
|
'name': None,
|
|
|
|
'options': dict({
|
|
|
|
}),
|
|
|
|
'original_device_class': None,
|
|
|
|
'original_icon': None,
|
|
|
|
'original_name': 'Advanced mode',
|
|
|
|
'platform': 'ecovacs',
|
|
|
|
'previous_unique_id': None,
|
|
|
|
'supported_features': 0,
|
|
|
|
'translation_key': 'advanced_mode',
|
|
|
|
'unique_id': 'E1234567890000000001_advanced_mode',
|
|
|
|
'unit_of_measurement': None,
|
|
|
|
})
|
|
|
|
# ---
|
|
|
|
# name: test_switch_entities[yna5x1][switch.ozmo_950_advanced_mode:state]
|
|
|
|
StateSnapshot({
|
|
|
|
'attributes': ReadOnlyDict({
|
|
|
|
'friendly_name': 'Ozmo 950 Advanced mode',
|
|
|
|
}),
|
|
|
|
'context': <ANY>,
|
|
|
|
'entity_id': 'switch.ozmo_950_advanced_mode',
|
|
|
|
'last_changed': <ANY>,
|
|
|
|
'last_updated': <ANY>,
|
|
|
|
'state': 'on',
|
|
|
|
})
|
|
|
|
# ---
|
2024-02-02 13:12:26 +00:00
|
|
|
# name: test_switch_entities[yna5x1][switch.ozmo_950_carpet_auto_boost_suction:entity-registry]
|
2024-01-31 15:05:41 +00:00
|
|
|
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': <EntityCategory.CONFIG: 'config'>,
|
2024-02-02 13:12:26 +00:00
|
|
|
'entity_id': 'switch.ozmo_950_carpet_auto_boost_suction',
|
2024-01-31 15:05:41 +00:00
|
|
|
'has_entity_name': True,
|
|
|
|
'hidden_by': None,
|
|
|
|
'icon': None,
|
|
|
|
'id': <ANY>,
|
2024-02-19 10:59:08 +00:00
|
|
|
'labels': set({
|
|
|
|
}),
|
2024-01-31 15:05:41 +00:00
|
|
|
'name': None,
|
|
|
|
'options': dict({
|
|
|
|
}),
|
|
|
|
'original_device_class': None,
|
|
|
|
'original_icon': None,
|
2024-02-02 13:12:26 +00:00
|
|
|
'original_name': 'Carpet auto-boost suction',
|
2024-01-31 15:05:41 +00:00
|
|
|
'platform': 'ecovacs',
|
|
|
|
'previous_unique_id': None,
|
|
|
|
'supported_features': 0,
|
|
|
|
'translation_key': 'carpet_auto_fan_boost',
|
|
|
|
'unique_id': 'E1234567890000000001_carpet_auto_fan_boost',
|
|
|
|
'unit_of_measurement': None,
|
|
|
|
})
|
|
|
|
# ---
|
2024-02-02 13:12:26 +00:00
|
|
|
# name: test_switch_entities[yna5x1][switch.ozmo_950_carpet_auto_boost_suction:state]
|
2024-01-31 15:05:41 +00:00
|
|
|
StateSnapshot({
|
|
|
|
'attributes': ReadOnlyDict({
|
2024-02-02 13:12:26 +00:00
|
|
|
'friendly_name': 'Ozmo 950 Carpet auto-boost suction',
|
2024-01-31 15:05:41 +00:00
|
|
|
}),
|
|
|
|
'context': <ANY>,
|
2024-02-02 13:12:26 +00:00
|
|
|
'entity_id': 'switch.ozmo_950_carpet_auto_boost_suction',
|
2024-01-31 15:05:41 +00:00
|
|
|
'last_changed': <ANY>,
|
|
|
|
'last_updated': <ANY>,
|
|
|
|
'state': 'on',
|
|
|
|
})
|
|
|
|
# ---
|
|
|
|
# name: test_switch_entities[yna5x1][switch.ozmo_950_continuous_cleaning:entity-registry]
|
|
|
|
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': <EntityCategory.CONFIG: 'config'>,
|
|
|
|
'entity_id': 'switch.ozmo_950_continuous_cleaning',
|
|
|
|
'has_entity_name': True,
|
|
|
|
'hidden_by': None,
|
|
|
|
'icon': None,
|
|
|
|
'id': <ANY>,
|
2024-02-19 10:59:08 +00:00
|
|
|
'labels': set({
|
|
|
|
}),
|
2024-01-31 15:05:41 +00:00
|
|
|
'name': None,
|
|
|
|
'options': dict({
|
|
|
|
}),
|
|
|
|
'original_device_class': None,
|
|
|
|
'original_icon': None,
|
|
|
|
'original_name': 'Continuous cleaning',
|
|
|
|
'platform': 'ecovacs',
|
|
|
|
'previous_unique_id': None,
|
|
|
|
'supported_features': 0,
|
|
|
|
'translation_key': 'continuous_cleaning',
|
|
|
|
'unique_id': 'E1234567890000000001_continuous_cleaning',
|
|
|
|
'unit_of_measurement': None,
|
|
|
|
})
|
|
|
|
# ---
|
|
|
|
# name: test_switch_entities[yna5x1][switch.ozmo_950_continuous_cleaning:state]
|
|
|
|
StateSnapshot({
|
|
|
|
'attributes': ReadOnlyDict({
|
|
|
|
'friendly_name': 'Ozmo 950 Continuous cleaning',
|
|
|
|
}),
|
|
|
|
'context': <ANY>,
|
|
|
|
'entity_id': 'switch.ozmo_950_continuous_cleaning',
|
|
|
|
'last_changed': <ANY>,
|
|
|
|
'last_updated': <ANY>,
|
|
|
|
'state': 'on',
|
|
|
|
})
|
|
|
|
# ---
|