mirror of
https://github.com/home-assistant/core.git
synced 2026-09-24 07:25:52 -05:00
59 lines
1.8 KiB
Plaintext
59 lines
1.8 KiB
Plaintext
# serializer version: 1
|
|
# name: test_fan_setup[fan.test_area_test_fan-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<FanEntityCapabilityAttribute.PRESET_MODES: 'preset_modes'>: None,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'fan',
|
|
'entity_category': None,
|
|
'entity_id': 'fan.test_area_test_fan',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': None,
|
|
'platform': 'lutron',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <FanEntityFeature: 49>,
|
|
'translation_key': None,
|
|
'unique_id': '12345678901_fan_uuid',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_fan_setup[fan.test_area_test_fan-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Test Fan',
|
|
<FanEntityStateAttribute.PERCENTAGE: 'percentage'>: 0,
|
|
<FanEntityStateAttribute.PERCENTAGE_STEP: 'percentage_step'>: 33.333333333333336,
|
|
<FanEntityStateAttribute.PRESET_MODE: 'preset_mode'>: None,
|
|
<FanEntityCapabilityAttribute.PRESET_MODES: 'preset_modes'>: None,
|
|
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <FanEntityFeature: 49>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'fan.test_area_test_fan',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|