mirror of https://github.com/home-assistant/core
114 lines
3.0 KiB
Plaintext
114 lines
3.0 KiB
Plaintext
# serializer version: 1
|
|
# name: test_all_entities[number.airgradient_display_brightness-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 100,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.airgradient_display_brightness',
|
|
'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': 'Display brightness',
|
|
'platform': 'airgradient',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'display_brightness',
|
|
'unique_id': '84fce612f5b8-display_brightness',
|
|
'unit_of_measurement': '%',
|
|
})
|
|
# ---
|
|
# name: test_all_entities[number.airgradient_display_brightness-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'Airgradient Display brightness',
|
|
'max': 100,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
'unit_of_measurement': '%',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.airgradient_display_brightness',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '0',
|
|
})
|
|
# ---
|
|
# name: test_all_entities[number.airgradient_led_bar_brightness-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 100,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.airgradient_led_bar_brightness',
|
|
'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': 'LED bar brightness',
|
|
'platform': 'airgradient',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'led_bar_brightness',
|
|
'unique_id': '84fce612f5b8-led_bar_brightness',
|
|
'unit_of_measurement': '%',
|
|
})
|
|
# ---
|
|
# name: test_all_entities[number.airgradient_led_bar_brightness-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'Airgradient LED bar brightness',
|
|
'max': 100,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
'unit_of_measurement': '%',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.airgradient_led_bar_brightness',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '100',
|
|
})
|
|
# ---
|