core/tests/components/airgradient/snapshots/test_switch.ambr

48 lines
1.3 KiB
Plaintext

# serializer version: 1
# name: test_all_entities[switch.airgradient_post_data_to_airgradient-entry]
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.airgradient_post_data_to_airgradient',
'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': 'Post data to Airgradient',
'platform': 'airgradient',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'post_data_to_airgradient',
'unique_id': '84fce612f5b8-post_data_to_airgradient',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[switch.airgradient_post_data_to_airgradient-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Airgradient Post data to Airgradient',
}),
'context': <ANY>,
'entity_id': 'switch.airgradient_post_data_to_airgradient',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---