Fix fixture for da_ks_oven_0107x (#157122)

Co-authored-by: mik-laj <12058428+mik-laj@users.noreply.github.com>
This commit is contained in:
Kamil Breguła
2025-11-23 22:30:03 +01:00
committed by GitHub
parent d22867b852
commit 79a7daf89d
7 changed files with 1200 additions and 2061 deletions

View File

@@ -680,6 +680,55 @@
'state': 'off',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][binary_sensor.kitchen_oven_door-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.kitchen_oven_door',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.OPENING: 'opening'>,
'original_icon': None,
'original_name': 'Door',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'door',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_samsungce.doorState_doorState_doorState',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][binary_sensor.kitchen_oven_door-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'opening',
'friendly_name': 'Kitchen oven Door',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.kitchen_oven_door',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][binary_sensor.kitchen_oven_remote_control-entry]
EntityRegistryEntrySnapshot({
'aliases': set({

View File

@@ -95,6 +95,54 @@
'state': 'unknown',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][button.kitchen_oven_stop-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'button',
'entity_category': None,
'entity_id': 'button.kitchen_oven_stop',
'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': 'Stop',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'stop',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_ovenOperatingState_stop',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][button.kitchen_oven_stop-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Kitchen oven Stop',
}),
'context': <ANY>,
'entity_id': 'button.kitchen_oven_stop',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unknown',
})
# ---
# name: test_all_entities[da_ks_range_0101x][button.vulcan_stop-entry]
EntityRegistryEntrySnapshot({
'aliases': set({

View File

@@ -56,64 +56,6 @@
'state': '0',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][number.kitchen_oven_rinse_cycles-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'max': 5,
'min': 0,
'mode': <NumberMode.BOX: 'box'>,
'step': 1.0,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'number',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'number.kitchen_oven_rinse_cycles',
'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': 'Rinse cycles',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'washer_rinse_cycles',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_custom.washerRinseCycles_washerRinseCycles_washerRinseCycles',
'unit_of_measurement': 'cycles',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][number.kitchen_oven_rinse_cycles-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Kitchen oven Rinse cycles',
'max': 5,
'min': 0,
'mode': <NumberMode.BOX: 'box'>,
'step': 1.0,
'unit_of_measurement': 'cycles',
}),
'context': <ANY>,
'entity_id': 'number.kitchen_oven_rinse_cycles',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '2',
})
# ---
# name: test_all_entities[da_ref_normal_000001][number.refrigerator_freezer_temperature-entry]
EntityRegistryEntrySnapshot({
'aliases': set({

View File

@@ -237,79 +237,15 @@
'state': 'high',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][select.kitchen_oven-entry]
# name: test_all_entities[da_ks_oven_0107x][select.kitchen_oven_lamp-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'options': list([
'stop',
'run',
'pause',
]),
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'select',
'entity_category': None,
'entity_id': 'select.kitchen_oven',
'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': None,
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'operating_state',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_washerOperatingState_machineState_machineState',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][select.kitchen_oven-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Kitchen oven',
'options': list([
'stop',
'run',
'pause',
]),
}),
'context': <ANY>,
'entity_id': 'select.kitchen_oven',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'stop',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][select.kitchen_oven_spin_level-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'options': list([
'rinse_hold',
'no_spin',
'400',
'800',
'1000',
'1200',
'1400',
'off',
'high',
]),
}),
'config_entry_id': <ANY>,
@@ -319,7 +255,7 @@
'disabled_by': None,
'domain': 'select',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'select.kitchen_oven_spin_level',
'entity_id': 'select.kitchen_oven_lamp',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
@@ -331,103 +267,31 @@
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Spin level',
'original_name': 'Lamp',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'spin_level',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_custom.washerSpinLevel_washerSpinLevel_washerSpinLevel',
'translation_key': 'lamp',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_samsungce.lamp_brightnessLevel_brightnessLevel',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][select.kitchen_oven_spin_level-state]
# name: test_all_entities[da_ks_oven_0107x][select.kitchen_oven_lamp-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Kitchen oven Spin level',
'friendly_name': 'Kitchen oven Lamp',
'options': list([
'rinse_hold',
'no_spin',
'400',
'800',
'1000',
'1200',
'1400',
'off',
'high',
]),
}),
'context': <ANY>,
'entity_id': 'select.kitchen_oven_spin_level',
'entity_id': 'select.kitchen_oven_lamp',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '1400',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][select.kitchen_oven_water_temperature-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'options': list([
'none',
'cold',
'20',
'30',
'40',
'60',
'90',
]),
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'select',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'select.kitchen_oven_water_temperature',
'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': 'Water temperature',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'water_temperature',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_custom.washerWaterTemperature_washerWaterTemperature_washerWaterTemperature',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][select.kitchen_oven_water_temperature-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Kitchen oven Water temperature',
'options': list([
'none',
'cold',
'20',
'30',
'40',
'60',
'90',
]),
}),
'context': <ANY>,
'entity_id': 'select.kitchen_oven_water_temperature',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'none',
'state': 'off',
})
# ---
# name: test_all_entities[da_ks_range_0101x][select.vulcan_lamp-entry]

View File

@@ -5209,7 +5209,7 @@
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'completion_time',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_washerOperatingState_completionTime_completionTime',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_ovenOperatingState_completionTime_completionTime',
'unit_of_measurement': None,
})
# ---
@@ -5224,175 +5224,7 @@
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '2025-11-15T17:16:01+00:00',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_energy-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.kitchen_oven_energy',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
'sensor': dict({
'suggested_display_precision': 2,
}),
}),
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
'original_icon': None,
'original_name': 'Energy',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_powerConsumptionReport_powerConsumption_energy_meter',
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_energy-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'energy',
'friendly_name': 'Kitchen oven Energy',
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_energy',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '109.4',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_energy_difference-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.TOTAL: 'total'>,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.kitchen_oven_energy_difference',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
'sensor': dict({
'suggested_display_precision': 2,
}),
}),
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
'original_icon': None,
'original_name': 'Energy difference',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'energy_difference',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_powerConsumptionReport_powerConsumption_deltaEnergy_meter',
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_energy_difference-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'energy',
'friendly_name': 'Kitchen oven Energy difference',
'state_class': <SensorStateClass.TOTAL: 'total'>,
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_energy_difference',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '0.0',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_energy_saved-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.kitchen_oven_energy_saved',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
'sensor': dict({
'suggested_display_precision': 2,
}),
}),
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
'original_icon': None,
'original_name': 'Energy saved',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'energy_saved',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_powerConsumptionReport_powerConsumption_energySaved_meter',
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_energy_saved-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'energy',
'friendly_name': 'Kitchen oven Energy saved',
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_energy_saved',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '0.0',
'state': '2025-11-22T02:11:43+00:00',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_job_state-entry]
@@ -5402,22 +5234,23 @@
'area_id': None,
'capabilities': dict({
'options': list([
'air_wash',
'ai_rinse',
'ai_spin',
'ai_wash',
'cleaning',
'cooking',
'cooling',
'delay_wash',
'drying',
'finish',
'none',
'pre_wash',
'rinse',
'spin',
'wash',
'weight_sensing',
'wrinkle_prevent',
'freeze_protection',
'draining',
'preheat',
'ready',
'rinsing',
'finished',
'scheduled_start',
'warming',
'defrosting',
'sensing',
'searing',
'fast_preheat',
'scheduled_end',
'stone_heating',
'time_hold_preheat',
]),
}),
'config_entry_id': <ANY>,
@@ -5444,8 +5277,8 @@
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'washer_job_state',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_washerOperatingState_washerJobState_washerJobState',
'translation_key': 'oven_job_state',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_ovenOperatingState_ovenJobState_ovenJobState',
'unit_of_measurement': None,
})
# ---
@@ -5455,22 +5288,23 @@
'device_class': 'enum',
'friendly_name': 'Kitchen oven Job state',
'options': list([
'air_wash',
'ai_rinse',
'ai_spin',
'ai_wash',
'cleaning',
'cooking',
'cooling',
'delay_wash',
'drying',
'finish',
'none',
'pre_wash',
'rinse',
'spin',
'wash',
'weight_sensing',
'wrinkle_prevent',
'freeze_protection',
'draining',
'preheat',
'ready',
'rinsing',
'finished',
'scheduled_start',
'warming',
'defrosting',
'sensing',
'searing',
'fast_preheat',
'scheduled_end',
'stone_heating',
'time_hold_preheat',
]),
}),
'context': <ANY>,
@@ -5478,7 +5312,7 @@
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'none',
'state': 'ready',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_machine_state-entry]
@@ -5488,9 +5322,9 @@
'area_id': None,
'capabilities': dict({
'options': list([
'pause',
'run',
'stop',
'ready',
'running',
'paused',
]),
}),
'config_entry_id': <ANY>,
@@ -5517,8 +5351,8 @@
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'washer_machine_state',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_washerOperatingState_machineState_machineState',
'translation_key': 'oven_machine_state',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_ovenOperatingState_machineState_machineState',
'unit_of_measurement': None,
})
# ---
@@ -5528,9 +5362,9 @@
'device_class': 'enum',
'friendly_name': 'Kitchen oven Machine state',
'options': list([
'pause',
'run',
'stop',
'ready',
'running',
'paused',
]),
}),
'context': <ANY>,
@@ -5538,10 +5372,167 @@
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'stop',
'state': 'ready',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_power-entry]
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_oven_mode-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'options': list([
'conventional',
'bake',
'bottom_heat',
'convection_bake',
'convection_roast',
'broil',
'convection_broil',
'steam_cook',
'steam_bake',
'steam_roast',
'steam_bottom_heat_plus_convection',
'microwave',
'microwave_plus_grill',
'microwave_plus_convection',
'microwave_plus_hot_blast',
'microwave_plus_hot_blast_2',
'slim_middle',
'slim_strong',
'slow_cook',
'proof',
'dehydrate',
'others',
'strong_steam',
'descale',
'rinse',
]),
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'sensor.kitchen_oven_oven_mode',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
'original_icon': None,
'original_name': 'Oven mode',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_mode',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_ovenMode_ovenMode_ovenMode',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_oven_mode-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'enum',
'friendly_name': 'Kitchen oven Oven mode',
'options': list([
'conventional',
'bake',
'bottom_heat',
'convection_bake',
'convection_roast',
'broil',
'convection_broil',
'steam_cook',
'steam_bake',
'steam_roast',
'steam_bottom_heat_plus_convection',
'microwave',
'microwave_plus_grill',
'microwave_plus_convection',
'microwave_plus_hot_blast',
'microwave_plus_hot_blast_2',
'slim_middle',
'slim_strong',
'slow_cook',
'proof',
'dehydrate',
'others',
'strong_steam',
'descale',
'rinse',
]),
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_oven_mode',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'others',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_setpoint-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.kitchen_oven_setpoint',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
'sensor': dict({
'suggested_display_precision': 1,
}),
}),
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
'original_icon': None,
'original_name': 'Setpoint',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_setpoint',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_ovenSetpoint_ovenSetpoint_ovenSetpoint',
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_setpoint-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'temperature',
'friendly_name': 'Kitchen oven Setpoint',
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_setpoint',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unknown',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_temperature-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
@@ -5556,7 +5547,7 @@
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.kitchen_oven_power',
'entity_id': 'sensor.kitchen_oven_temperature',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
@@ -5566,95 +5557,37 @@
'name': None,
'options': dict({
'sensor': dict({
'suggested_display_precision': 2,
'suggested_display_precision': 1,
}),
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
'original_icon': None,
'original_name': 'Power',
'original_name': 'Temperature',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_powerConsumptionReport_powerConsumption_power_meter',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_temperatureMeasurement_temperature_temperature',
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_power-state]
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_temperature-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'power',
'friendly_name': 'Kitchen oven Power',
'power_consumption_end': '2025-11-15T14:38:02Z',
'power_consumption_start': '2025-11-15T14:37:32Z',
'device_class': 'temperature',
'friendly_name': 'Kitchen oven Temperature',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_power',
'entity_id': 'sensor.kitchen_oven_temperature',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '0',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_power_energy-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.TOTAL: 'total'>,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.kitchen_oven_power_energy',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
'sensor': dict({
'suggested_display_precision': 2,
}),
}),
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
'original_icon': None,
'original_name': 'Power energy',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'power_energy',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_powerConsumptionReport_powerConsumption_powerEnergy_meter',
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_power_energy-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'energy',
'friendly_name': 'Kitchen oven Power energy',
'state_class': <SensorStateClass.TOTAL: 'total'>,
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_power_energy',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '0.0',
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_completion_time-entry]
EntityRegistryEntrySnapshot({
'aliases': set({

View File

@@ -191,102 +191,6 @@
'state': 'off',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][switch.kitchen_oven-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'switch',
'entity_category': None,
'entity_id': 'switch.kitchen_oven',
'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': None,
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_switch_switch_switch',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][switch.kitchen_oven-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Kitchen oven',
}),
'context': <ANY>,
'entity_id': 'switch.kitchen_oven',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][switch.kitchen_oven_bubble_soak-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'switch',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'switch.kitchen_oven_bubble_soak',
'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': 'Bubble Soak',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'bubble_soak',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_main_samsungce.washerBubbleSoak_status_status',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][switch.kitchen_oven_bubble_soak-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Kitchen oven Bubble Soak',
}),
'context': <ANY>,
'entity_id': 'switch.kitchen_oven_bubble_soak',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_all_entities[da_ref_normal_000001][switch.refrigerator_cubed_ice-entry]
EntityRegistryEntrySnapshot({
'aliases': set({