mirror of
https://github.com/home-assistant/core.git
synced 2026-04-17 23:53:49 +01:00
410 lines
10 KiB
Plaintext
410 lines
10 KiB
Plaintext
# serializer version: 1
|
|
# name: test_fans[longan_link_thermostat][fan.longan_link_hvac-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
'auto',
|
|
]),
|
|
}),
|
|
'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.longan_link_hvac',
|
|
'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': 'matter',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <FanEntityFeature: 56>,
|
|
'translation_key': 'fan',
|
|
'unique_id': '00000000000004D2-0000000000000004-MatterNodeDevice-1-MatterFan-514-0',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_fans[longan_link_thermostat][fan.longan_link_hvac-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'Longan link HVAC',
|
|
'preset_mode': None,
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
'auto',
|
|
]),
|
|
'supported_features': <FanEntityFeature: 56>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'fan.longan_link_hvac',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_fans[mock_air_purifier][fan.mock_air_purifier-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
'auto',
|
|
'natural_wind',
|
|
'sleep_wind',
|
|
]),
|
|
}),
|
|
'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.mock_air_purifier',
|
|
'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': 'matter',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <FanEntityFeature: 63>,
|
|
'translation_key': 'fan',
|
|
'unique_id': '00000000000004D2-000000000000008F-MatterNodeDevice-1-MatterFan-514-0',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_fans[mock_air_purifier][fan.mock_air_purifier-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'direction': 'forward',
|
|
'friendly_name': 'Mock Air Purifier',
|
|
'oscillating': False,
|
|
'percentage': None,
|
|
'percentage_step': 10.0,
|
|
'preset_mode': 'auto',
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
'auto',
|
|
'natural_wind',
|
|
'sleep_wind',
|
|
]),
|
|
'supported_features': <FanEntityFeature: 63>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'fan.mock_air_purifier',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|
|
# name: test_fans[mock_extractor_hood][fan.mock_extractor_hood-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
]),
|
|
}),
|
|
'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.mock_extractor_hood',
|
|
'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': 'matter',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <FanEntityFeature: 56>,
|
|
'translation_key': 'fan',
|
|
'unique_id': '00000000000004D2-0000000000000049-MatterNodeDevice-1-MatterFan-514-0',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_fans[mock_extractor_hood][fan.mock_extractor_hood-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'Mock Extractor hood',
|
|
'preset_mode': None,
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
]),
|
|
'supported_features': <FanEntityFeature: 56>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'fan.mock_extractor_hood',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_fans[mock_fan][fan.mocked_fan_switch-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
'auto',
|
|
'natural_wind',
|
|
'sleep_wind',
|
|
]),
|
|
}),
|
|
'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.mocked_fan_switch',
|
|
'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': 'matter',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <FanEntityFeature: 57>,
|
|
'translation_key': 'fan',
|
|
'unique_id': '00000000000004D2-0000000000000037-MatterNodeDevice-1-MatterFan-514-0',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_fans[mock_fan][fan.mocked_fan_switch-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'Mocked Fan Switch',
|
|
'percentage': 0,
|
|
'percentage_step': 33.333333333333336,
|
|
'preset_mode': None,
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
'auto',
|
|
'natural_wind',
|
|
'sleep_wind',
|
|
]),
|
|
'supported_features': <FanEntityFeature: 57>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'fan.mocked_fan_switch',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_fans[mock_room_airconditioner][fan.room_airconditioner-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
'auto',
|
|
'sleep_wind',
|
|
]),
|
|
}),
|
|
'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.room_airconditioner',
|
|
'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': 'matter',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <FanEntityFeature: 57>,
|
|
'translation_key': 'fan',
|
|
'unique_id': '00000000000004D2-000000000000003B-MatterNodeDevice-1-MatterFan-514-0',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_fans[mock_room_airconditioner][fan.room_airconditioner-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'Room AirConditioner',
|
|
'percentage': 0,
|
|
'percentage_step': 33.333333333333336,
|
|
'preset_mode': None,
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
'auto',
|
|
'sleep_wind',
|
|
]),
|
|
'supported_features': <FanEntityFeature: 57>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'fan.room_airconditioner',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_fans[silabs_fan][fan.sl_fan-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
'auto',
|
|
'natural_wind',
|
|
'sleep_wind',
|
|
]),
|
|
}),
|
|
'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.sl_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': 'matter',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <FanEntityFeature: 63>,
|
|
'translation_key': 'fan',
|
|
'unique_id': '00000000000004D2-0000000000000063-MatterNodeDevice-1-MatterFan-514-0',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_fans[silabs_fan][fan.sl_fan-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'direction': 'forward',
|
|
'friendly_name': 'SL_Fan',
|
|
'oscillating': False,
|
|
'percentage': 30,
|
|
'percentage_step': 10.0,
|
|
'preset_mode': 'low',
|
|
'preset_modes': list([
|
|
'low',
|
|
'medium',
|
|
'high',
|
|
'auto',
|
|
'natural_wind',
|
|
'sleep_wind',
|
|
]),
|
|
'supported_features': <FanEntityFeature: 63>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'fan.sl_fan',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|