1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-14 23:28:42 +00:00

Support dual cook oven in Smartthing (#156561)

Co-authored-by: mik-laj <12058428+mik-laj@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kamil Breguła
2026-02-11 21:27:40 +01:00
committed by GitHub
parent 98602bd311
commit e179e74df3
5 changed files with 1102 additions and 2 deletions

View File

@@ -179,6 +179,15 @@ CAPABILITY_TO_SENSORS: dict[
is_on_key="detected",
)
},
Capability.CUSTOM_OVEN_CAVITY_STATUS: {
Attribute.OVEN_CAVITY_STATUS: SmartThingsBinarySensorEntityDescription(
key=Attribute.OVEN_CAVITY_STATUS,
is_on_key="on",
component_translation_key={
"cavity-01": "oven_cavity_status",
},
)
},
}

View File

@@ -647,9 +647,19 @@ CAPABILITY_TO_SENSORS: dict[
key=Attribute.OVEN_MODE,
translation_key="oven_mode",
entity_category=EntityCategory.DIAGNOSTIC,
options=list(OVEN_MODE.values()),
options=[
*OVEN_MODE.values(),
"heating",
"grill",
"defrosting",
"warming",
],
device_class=SensorDeviceClass.ENUM,
value_fn=lambda value: OVEN_MODE.get(value, value),
component_fn=lambda component: component == "cavity-01",
component_translation_key={
"cavity-01": "oven_mode_cavity_01",
},
)
]
},
@@ -660,6 +670,10 @@ CAPABILITY_TO_SENSORS: dict[
translation_key="oven_machine_state",
options=["ready", "running", "paused"],
device_class=SensorDeviceClass.ENUM,
component_fn=lambda component: component == "cavity-01",
component_translation_key={
"cavity-01": "oven_machine_state_cavity_01",
},
)
],
Attribute.OVEN_JOB_STATE: [
@@ -687,6 +701,10 @@ CAPABILITY_TO_SENSORS: dict[
],
device_class=SensorDeviceClass.ENUM,
value_fn=lambda value: OVEN_JOB_STATE_MAP.get(value, value),
component_fn=lambda component: component == "cavity-01",
component_translation_key={
"cavity-01": "oven_job_state_cavity_01",
},
)
],
Attribute.COMPLETION_TIME: [
@@ -695,6 +713,10 @@ CAPABILITY_TO_SENSORS: dict[
translation_key="completion_time",
device_class=SensorDeviceClass.TIMESTAMP,
value_fn=dt_util.parse_datetime,
component_fn=lambda component: component == "cavity-01",
component_translation_key={
"cavity-01": "oven_completion_time_cavity_01",
},
)
],
},
@@ -707,6 +729,10 @@ CAPABILITY_TO_SENSORS: dict[
use_temperature_unit=True,
# Set the value to None if it is 0 F (-17 C)
value_fn=lambda value: None if value in {-17, 0, 1} else value,
component_fn=lambda component: component == "cavity-01",
component_translation_key={
"cavity-01": "oven_setpoint_cavity_01",
},
)
]
},
@@ -917,11 +943,14 @@ CAPABILITY_TO_SENSORS: dict[
)
),
component_fn=(
lambda component: component in {"freezer", "cooler", "onedoor"}
lambda component: (
component in {"freezer", "cooler", "onedoor", "cavity-01"}
)
),
component_translation_key={
"freezer": "freezer_temperature",
"cooler": "cooler_temperature",
"cavity-01": "oven_temperature_cavity_01",
},
)
]

View File

@@ -67,6 +67,9 @@
"keep_fresh_mode_active": {
"name": "Keep fresh mode active"
},
"oven_cavity_status": {
"name": "Second cavity status"
},
"remote_control": {
"name": "Remote control"
},
@@ -489,6 +492,9 @@
"odor_sensor": {
"name": "Odor sensor"
},
"oven_completion_time_cavity_01": {
"name": "Second cavity completion time"
},
"oven_job_state": {
"name": "[%key:component::smartthings::entity::sensor::dishwasher_job_state::name%]",
"state": {
@@ -511,6 +517,28 @@
"warming": "Warming"
}
},
"oven_job_state_cavity_01": {
"name": "Second cavity job state",
"state": {
"cleaning": "[%key:component::smartthings::entity::sensor::oven_job_state::state::cleaning%]",
"cooking": "[%key:component::smartthings::entity::sensor::oven_job_state::state::cooking%]",
"cooling": "[%key:component::smartthings::entity::sensor::oven_job_state::state::cooling%]",
"defrosting": "[%key:component::smartthings::entity::sensor::oven_job_state::state::defrosting%]",
"draining": "[%key:component::smartthings::entity::sensor::oven_job_state::state::draining%]",
"fast_preheat": "[%key:component::smartthings::entity::sensor::oven_job_state::state::fast_preheat%]",
"finished": "[%key:component::smartthings::entity::sensor::oven_job_state::state::finished%]",
"preheat": "[%key:component::smartthings::entity::sensor::oven_job_state::state::preheat%]",
"ready": "[%key:component::smartthings::entity::sensor::oven_job_state::state::ready%]",
"rinsing": "[%key:component::smartthings::entity::sensor::oven_job_state::state::rinsing%]",
"scheduled_end": "[%key:component::smartthings::entity::sensor::oven_job_state::state::scheduled_end%]",
"scheduled_start": "[%key:component::smartthings::entity::sensor::oven_job_state::state::scheduled_start%]",
"searing": "[%key:component::smartthings::entity::sensor::oven_job_state::state::searing%]",
"sensing": "[%key:component::smartthings::entity::sensor::oven_job_state::state::sensing%]",
"stone_heating": "[%key:component::smartthings::entity::sensor::oven_job_state::state::stone_heating%]",
"time_hold_preheat": "[%key:component::smartthings::entity::sensor::oven_job_state::state::time_hold_preheat%]",
"warming": "[%key:component::smartthings::entity::sensor::oven_job_state::state::warming%]"
}
},
"oven_machine_state": {
"name": "[%key:component::smartthings::entity::sensor::dishwasher_machine_state::name%]",
"state": {
@@ -519,6 +547,14 @@
"running": "[%key:component::smartthings::entity::sensor::dishwasher_machine_state::state::run%]"
}
},
"oven_machine_state_cavity_01": {
"name": "Second cavity machine state",
"state": {
"paused": "[%key:common::state::paused%]",
"ready": "[%key:component::smartthings::entity::sensor::oven_machine_state::state::ready%]",
"running": "[%key:component::smartthings::entity::sensor::dishwasher_machine_state::state::run%]"
}
},
"oven_mode": {
"name": "Oven mode",
"state": {
@@ -553,9 +589,49 @@
"warming": "Warming"
}
},
"oven_mode_cavity_01": {
"name": "Second cavity oven mode",
"state": {
"bake": "[%key:component::smartthings::entity::sensor::oven_mode::state::bake%]",
"bottom_heat": "[%key:component::smartthings::entity::sensor::oven_mode::state::bottom_heat%]",
"broil": "[%key:component::smartthings::entity::sensor::oven_mode::state::broil%]",
"convection_bake": "[%key:component::smartthings::entity::sensor::oven_mode::state::convection_bake%]",
"convection_broil": "[%key:component::smartthings::entity::sensor::oven_mode::state::convection_broil%]",
"convection_roast": "[%key:component::smartthings::entity::sensor::oven_mode::state::convection_roast%]",
"conventional": "[%key:component::smartthings::entity::sensor::oven_mode::state::conventional%]",
"defrosting": "[%key:component::smartthings::entity::sensor::oven_mode::state::defrosting%]",
"dehydrate": "[%key:component::smartthings::entity::sensor::oven_mode::state::dehydrate%]",
"descale": "[%key:component::smartthings::entity::sensor::oven_mode::state::descale%]",
"grill": "[%key:component::smartthings::entity::sensor::oven_mode::state::grill%]",
"heating": "[%key:component::smartthings::entity::sensor::oven_mode::state::heating%]",
"microwave": "[%key:component::smartthings::entity::sensor::oven_mode::state::microwave%]",
"microwave_plus_convection": "[%key:component::smartthings::entity::sensor::oven_mode::state::microwave_plus_convection%]",
"microwave_plus_grill": "[%key:component::smartthings::entity::sensor::oven_mode::state::microwave_plus_grill%]",
"microwave_plus_hot_blast": "[%key:component::smartthings::entity::sensor::oven_mode::state::microwave_plus_hot_blast%]",
"microwave_plus_hot_blast_2": "[%key:component::smartthings::entity::sensor::oven_mode::state::microwave_plus_hot_blast_2%]",
"others": "[%key:component::smartthings::entity::sensor::oven_mode::state::others%]",
"proof": "[%key:component::smartthings::entity::sensor::oven_mode::state::proof%]",
"rinse": "[%key:component::smartthings::entity::sensor::oven_mode::state::rinse%]",
"slim_middle": "[%key:component::smartthings::entity::sensor::oven_mode::state::slim_middle%]",
"slim_strong": "[%key:component::smartthings::entity::sensor::oven_mode::state::slim_strong%]",
"slow_cook": "[%key:component::smartthings::entity::sensor::oven_mode::state::slow_cook%]",
"steam_bake": "[%key:component::smartthings::entity::sensor::oven_mode::state::steam_bake%]",
"steam_bottom_heat_plus_convection": "[%key:component::smartthings::entity::sensor::oven_mode::state::steam_bottom_heat_plus_convection%]",
"steam_cook": "[%key:component::smartthings::entity::sensor::oven_mode::state::steam_cook%]",
"steam_roast": "[%key:component::smartthings::entity::sensor::oven_mode::state::steam_roast%]",
"strong_steam": "[%key:component::smartthings::entity::sensor::oven_mode::state::strong_steam%]",
"warming": "[%key:component::smartthings::entity::sensor::oven_mode::state::warming%]"
}
},
"oven_setpoint": {
"name": "Setpoint"
},
"oven_setpoint_cavity_01": {
"name": "Second cavity setpoint"
},
"oven_temperature_cavity_01": {
"name": "Second cavity temperature"
},
"pm10_health_concern": {
"name": "PM10 health concern",
"state": {

View File

@@ -892,6 +892,55 @@
'state': 'off',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][binary_sensor.kitchen_oven_second_cavity_status-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_second_cavity_status',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity status',
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Second cavity status',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_cavity_status',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_cavity-01_custom.ovenCavityStatus_ovenCavityStatus_ovenCavityStatus',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][binary_sensor.kitchen_oven_second_cavity_status-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Kitchen oven Second cavity status',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.kitchen_oven_second_cavity_status',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_all_entities[da_ks_range_0101x][binary_sensor.vulcan_child_lock-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@@ -1040,6 +1089,55 @@
'state': 'on',
})
# ---
# name: test_all_entities[da_ks_range_0101x][binary_sensor.vulcan_second_cavity_status-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.vulcan_second_cavity_status',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity status',
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Second cavity status',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_cavity_status',
'unique_id': '2c3cbaa0-1899-5ddc-7b58-9d657bd48f18_cavity-01_custom.ovenCavityStatus_ovenCavityStatus_ovenCavityStatus',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_range_0101x][binary_sensor.vulcan_second_cavity_status-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Vulcan Second cavity status',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.vulcan_second_cavity_status',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_all_entities[da_ks_walloven_0107x][binary_sensor.four_child_lock-entry]
EntityRegistryEntrySnapshot({
'aliases': set({

View File

@@ -5686,6 +5686,10 @@
'strong_steam',
'descale',
'rinse',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'config_entry_id': <ANY>,
@@ -5749,6 +5753,10 @@
'strong_steam',
'descale',
'rinse',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'context': <ANY>,
@@ -6102,6 +6110,10 @@
'strong_steam',
'descale',
'rinse',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'config_entry_id': <ANY>,
@@ -6165,6 +6177,10 @@
'strong_steam',
'descale',
'rinse',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'context': <ANY>,
@@ -6518,6 +6534,10 @@
'strong_steam',
'descale',
'rinse',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'config_entry_id': <ANY>,
@@ -6581,6 +6601,10 @@
'strong_steam',
'descale',
'rinse',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'context': <ANY>,
@@ -6591,6 +6615,430 @@
'state': 'others',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_completion_time-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_second_cavity_completion_time',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity completion time',
'options': dict({
}),
'original_device_class': <SensorDeviceClass.TIMESTAMP: 'timestamp'>,
'original_icon': None,
'original_name': 'Second cavity completion time',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_completion_time_cavity_01',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_cavity-01_ovenOperatingState_completionTime_completionTime',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_completion_time-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'timestamp',
'friendly_name': 'Kitchen oven Second cavity completion time',
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_second_cavity_completion_time',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '2025-11-22T02:11:43+00:00',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_job_state-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'options': list([
'cleaning',
'cooking',
'cooling',
'draining',
'preheat',
'ready',
'rinsing',
'finished',
'scheduled_start',
'warming',
'defrosting',
'sensing',
'searing',
'fast_preheat',
'scheduled_end',
'stone_heating',
'time_hold_preheat',
]),
}),
'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_second_cavity_job_state',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity job state',
'options': dict({
}),
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
'original_icon': None,
'original_name': 'Second cavity job state',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_job_state_cavity_01',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_cavity-01_ovenOperatingState_ovenJobState_ovenJobState',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_job_state-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'enum',
'friendly_name': 'Kitchen oven Second cavity job state',
'options': list([
'cleaning',
'cooking',
'cooling',
'draining',
'preheat',
'ready',
'rinsing',
'finished',
'scheduled_start',
'warming',
'defrosting',
'sensing',
'searing',
'fast_preheat',
'scheduled_end',
'stone_heating',
'time_hold_preheat',
]),
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_second_cavity_job_state',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'ready',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_machine_state-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'options': list([
'ready',
'running',
'paused',
]),
}),
'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_second_cavity_machine_state',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity machine state',
'options': dict({
}),
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
'original_icon': None,
'original_name': 'Second cavity machine state',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_machine_state_cavity_01',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_cavity-01_ovenOperatingState_machineState_machineState',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_machine_state-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'enum',
'friendly_name': 'Kitchen oven Second cavity machine state',
'options': list([
'ready',
'running',
'paused',
]),
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_second_cavity_machine_state',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'ready',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_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',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'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_second_cavity_oven_mode',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity oven mode',
'options': dict({
}),
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
'original_icon': None,
'original_name': 'Second cavity oven mode',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_mode_cavity_01',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_cavity-01_ovenMode_ovenMode_ovenMode',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_oven_mode-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'enum',
'friendly_name': 'Kitchen oven Second cavity 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',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_second_cavity_oven_mode',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'others',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_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_second_cavity_setpoint',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity setpoint',
'options': dict({
'sensor': dict({
'suggested_display_precision': 1,
}),
}),
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
'original_icon': None,
'original_name': 'Second cavity setpoint',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_setpoint_cavity_01',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_cavity-01_ovenSetpoint_ovenSetpoint_ovenSetpoint',
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_setpoint-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'temperature',
'friendly_name': 'Kitchen oven Second cavity setpoint',
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_second_cavity_setpoint',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unknown',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_temperature-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'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_second_cavity_temperature',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity temperature',
'options': dict({
'sensor': dict({
'suggested_display_precision': 1,
}),
}),
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
'original_icon': None,
'original_name': 'Second cavity temperature',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_temperature_cavity_01',
'unique_id': '199d7863-ad04-793d-176d-658f10062575_cavity-01_temperatureMeasurement_temperature_temperature',
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_temperature-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'temperature',
'friendly_name': 'Kitchen oven Second cavity temperature',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
'context': <ANY>,
'entity_id': 'sensor.kitchen_oven_second_cavity_temperature',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '0',
})
# ---
# name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_setpoint-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@@ -6993,6 +7441,10 @@
'strong_steam',
'descale',
'rinse',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'config_entry_id': <ANY>,
@@ -7056,6 +7508,10 @@
'strong_steam',
'descale',
'rinse',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'context': <ANY>,
@@ -7066,6 +7522,430 @@
'state': 'bake',
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_completion_time-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.vulcan_second_cavity_completion_time',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity completion time',
'options': dict({
}),
'original_device_class': <SensorDeviceClass.TIMESTAMP: 'timestamp'>,
'original_icon': None,
'original_name': 'Second cavity completion time',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_completion_time_cavity_01',
'unique_id': '2c3cbaa0-1899-5ddc-7b58-9d657bd48f18_cavity-01_ovenOperatingState_completionTime_completionTime',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_completion_time-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'timestamp',
'friendly_name': 'Vulcan Second cavity completion time',
}),
'context': <ANY>,
'entity_id': 'sensor.vulcan_second_cavity_completion_time',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '2024-05-14T19:00:04+00:00',
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_job_state-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'options': list([
'cleaning',
'cooking',
'cooling',
'draining',
'preheat',
'ready',
'rinsing',
'finished',
'scheduled_start',
'warming',
'defrosting',
'sensing',
'searing',
'fast_preheat',
'scheduled_end',
'stone_heating',
'time_hold_preheat',
]),
}),
'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.vulcan_second_cavity_job_state',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity job state',
'options': dict({
}),
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
'original_icon': None,
'original_name': 'Second cavity job state',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_job_state_cavity_01',
'unique_id': '2c3cbaa0-1899-5ddc-7b58-9d657bd48f18_cavity-01_ovenOperatingState_ovenJobState_ovenJobState',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_job_state-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'enum',
'friendly_name': 'Vulcan Second cavity job state',
'options': list([
'cleaning',
'cooking',
'cooling',
'draining',
'preheat',
'ready',
'rinsing',
'finished',
'scheduled_start',
'warming',
'defrosting',
'sensing',
'searing',
'fast_preheat',
'scheduled_end',
'stone_heating',
'time_hold_preheat',
]),
}),
'context': <ANY>,
'entity_id': 'sensor.vulcan_second_cavity_job_state',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'ready',
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_machine_state-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'options': list([
'ready',
'running',
'paused',
]),
}),
'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.vulcan_second_cavity_machine_state',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity machine state',
'options': dict({
}),
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
'original_icon': None,
'original_name': 'Second cavity machine state',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_machine_state_cavity_01',
'unique_id': '2c3cbaa0-1899-5ddc-7b58-9d657bd48f18_cavity-01_ovenOperatingState_machineState_machineState',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_machine_state-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'enum',
'friendly_name': 'Vulcan Second cavity machine state',
'options': list([
'ready',
'running',
'paused',
]),
}),
'context': <ANY>,
'entity_id': 'sensor.vulcan_second_cavity_machine_state',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'ready',
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_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',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'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.vulcan_second_cavity_oven_mode',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity oven mode',
'options': dict({
}),
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
'original_icon': None,
'original_name': 'Second cavity oven mode',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_mode_cavity_01',
'unique_id': '2c3cbaa0-1899-5ddc-7b58-9d657bd48f18_cavity-01_ovenMode_ovenMode_ovenMode',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_oven_mode-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'enum',
'friendly_name': 'Vulcan Second cavity 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',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'context': <ANY>,
'entity_id': 'sensor.vulcan_second_cavity_oven_mode',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'others',
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_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.vulcan_second_cavity_setpoint',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity setpoint',
'options': dict({
'sensor': dict({
'suggested_display_precision': 1,
}),
}),
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
'original_icon': None,
'original_name': 'Second cavity setpoint',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_setpoint_cavity_01',
'unique_id': '2c3cbaa0-1899-5ddc-7b58-9d657bd48f18_cavity-01_ovenSetpoint_ovenSetpoint_ovenSetpoint',
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_setpoint-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'temperature',
'friendly_name': 'Vulcan Second cavity setpoint',
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
'context': <ANY>,
'entity_id': 'sensor.vulcan_second_cavity_setpoint',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unknown',
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_temperature-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'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.vulcan_second_cavity_temperature',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Second cavity temperature',
'options': dict({
'sensor': dict({
'suggested_display_precision': 1,
}),
}),
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
'original_icon': None,
'original_name': 'Second cavity temperature',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'oven_temperature_cavity_01',
'unique_id': '2c3cbaa0-1899-5ddc-7b58-9d657bd48f18_cavity-01_temperatureMeasurement_temperature_temperature',
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_temperature-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'temperature',
'friendly_name': 'Vulcan Second cavity temperature',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
'context': <ANY>,
'entity_id': 'sensor.vulcan_second_cavity_temperature',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '79.4444444444444',
})
# ---
# name: test_all_entities[da_ks_range_0101x][sensor.vulcan_setpoint-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@@ -7580,6 +8460,10 @@
'strong_steam',
'descale',
'rinse',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'config_entry_id': <ANY>,
@@ -7643,6 +8527,10 @@
'strong_steam',
'descale',
'rinse',
'heating',
'grill',
'defrosting',
'warming',
]),
}),
'context': <ANY>,