diff --git a/tests/components/smartthings/conftest.py b/tests/components/smartthings/conftest.py index da46e1620e7..9fe7ad4f231 100644 --- a/tests/components/smartthings/conftest.py +++ b/tests/components/smartthings/conftest.py @@ -147,6 +147,7 @@ def mock_smartthings() -> Generator[AsyncMock]: "da_ks_range_0101x", "da_ks_oven_01061", "da_ks_oven_0107x", + "da_ks_walloven_0107x", "hue_color_temperature_bulb", "hue_rgbw_color_bulb", "c2c_shade", diff --git a/tests/components/smartthings/fixtures/device_status/da_ks_walloven_0107x.json b/tests/components/smartthings/fixtures/device_status/da_ks_walloven_0107x.json new file mode 100644 index 00000000000..e15d04617fb --- /dev/null +++ b/tests/components/smartthings/fixtures/device_status/da_ks_walloven_0107x.json @@ -0,0 +1,1603 @@ +{ + "components": { + "cavity-03": { + "ovenSetpoint": { + "ovenSetpointRange": { + "value": null + }, + "ovenSetpoint": { + "value": 0, + "timestamp": "2025-12-02T09:19:03.336Z" + } + }, + "custom.disabledCapabilities": { + "disabledCapabilities": { + "value": [], + "timestamp": "2025-05-30T03:00:41.205Z" + } + }, + "samsungce.definedRecipe": { + "definedRecipe": { + "value": { + "cavityId": "0", + "recipeType": "0", + "categoryId": 0, + "itemId": 0, + "servingSize": 0, + "browingLevel": 0, + "option": 0 + }, + "timestamp": "2025-12-02T09:19:03.336Z" + } + }, + "temperatureMeasurement": { + "temperatureRange": { + "value": null + }, + "temperature": { + "value": 175, + "unit": "F", + "timestamp": "2025-12-02T09:19:03.336Z" + } + }, + "samsungce.ovenOperatingState": { + "completionTime": { + "value": "2025-12-02T09:19:03.287Z", + "timestamp": "2025-12-02T09:19:03.336Z" + }, + "operatingState": { + "value": "ready", + "timestamp": "2025-12-02T09:19:03.336Z" + }, + "progress": { + "value": 1, + "timestamp": "2025-12-02T09:19:03.336Z" + }, + "ovenJobState": { + "value": "ready", + "timestamp": "2025-12-02T09:19:03.336Z" + }, + "operationTime": { + "value": "00:00:00", + "timestamp": "2025-12-02T09:19:03.336Z" + } + }, + "custom.ovenCavityStatus": { + "ovenCavityStatus": { + "value": "off", + "timestamp": "2025-12-02T09:19:03.336Z" + } + }, + "ovenMode": { + "supportedOvenModes": { + "value": ["ConvectionBake", "Bake"], + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "ovenMode": { + "value": "Others", + "timestamp": "2025-12-02T09:19:03.336Z" + } + }, + "ovenOperatingState": { + "completionTime": { + "value": "2025-12-02T09:19:03.287Z", + "timestamp": "2025-12-02T09:19:03.336Z" + }, + "machineState": { + "value": "ready", + "timestamp": "2025-12-02T09:19:03.336Z" + }, + "progress": { + "value": 1, + "unit": "%", + "timestamp": "2025-12-02T09:19:03.336Z" + }, + "supportedMachineStates": { + "value": null + }, + "ovenJobState": { + "value": "ready", + "timestamp": "2025-12-02T09:19:03.336Z" + }, + "operationTime": { + "value": 0, + "timestamp": "2025-12-02T09:19:03.336Z" + } + }, + "samsungce.ovenMode": { + "supportedOvenModes": { + "value": ["ConvectionBake", "Bake"], + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "ovenMode": { + "value": "NoOperation", + "timestamp": "2025-12-02T09:19:03.336Z" + } + } + }, + "cavity-02": { + "ovenSetpoint": { + "ovenSetpointRange": { + "value": null + }, + "ovenSetpoint": { + "value": 0, + "timestamp": "2025-12-02T09:19:03.438Z" + } + }, + "samsungce.meatProbe": { + "temperatureSetpoint": { + "value": 0, + "unit": "F", + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "temperature": { + "value": 0, + "unit": "F", + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "status": { + "value": "disconnected", + "timestamp": "2025-12-02T09:19:03.438Z" + } + }, + "samsungce.doorState": { + "doorState": { + "value": "closed", + "timestamp": "2025-12-02T13:38:43.528Z" + } + }, + "remoteControlStatus": { + "remoteControlEnabled": { + "value": "false", + "timestamp": "2025-12-02T09:19:03.438Z" + } + }, + "samsungce.kitchenModeSpecification": { + "specification": { + "value": { + "single": [ + { + "mode": "Bake", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 285, + "default": 175, + "resolution": 5 + }, + "F": { + "min": 175, + "max": 550, + "default": 350, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + }, + "probeTemperature": { + "C": { + "min": 40, + "max": 90, + "default": 65, + "resolution": 1 + }, + "F": { + "min": 100, + "max": 200, + "default": 150, + "resolution": 1 + } + } + } + }, + { + "mode": "Broil", + "supportedOperations": ["set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 61442, + "max": 61441, + "default": 61441, + "supportedValues": [61441, 61442] + }, + "F": { + "min": 61442, + "max": 61441, + "default": 61441, + "supportedValues": [61441, 61442] + } + } + } + }, + { + "mode": "ConvectionBake", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 285, + "default": 160, + "resolution": 5 + }, + "F": { + "min": 175, + "max": 550, + "default": 325, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + }, + "probeTemperature": { + "C": { + "min": 40, + "max": 90, + "default": 65, + "resolution": 1 + }, + "F": { + "min": 100, + "max": 200, + "default": 150, + "resolution": 1 + } + } + } + }, + { + "mode": "ConvectionRoast", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 285, + "default": 160, + "resolution": 5 + }, + "F": { + "min": 175, + "max": 550, + "default": 325, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + }, + "probeTemperature": { + "C": { + "min": 40, + "max": 90, + "default": 65, + "resolution": 1 + }, + "F": { + "min": 100, + "max": 200, + "default": 150, + "resolution": 1 + } + } + } + }, + { + "mode": "AirFryer", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 175, + "max": 260, + "default": 220, + "resolution": 5 + }, + "F": { + "min": 350, + "max": 500, + "default": 425, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + } + } + }, + { + "mode": "SteamBake", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 110, + "max": 285, + "default": 160, + "resolution": 5 + }, + "F": { + "min": 230, + "max": 550, + "default": 325, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + } + } + }, + { + "mode": "SteamRoast", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 110, + "max": 285, + "default": 160, + "resolution": 5 + }, + "F": { + "min": 230, + "max": 550, + "default": 325, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + } + } + }, + { + "mode": "SteamCook", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 130, + "max": 130, + "default": 130, + "supportedValues": [130] + }, + "F": { + "min": 265, + "max": 265, + "default": 265, + "supportedValues": [265] + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + } + } + }, + { + "mode": "KeepWarm", + "supportedOperations": ["set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 80, + "default": 80, + "supportedValues": [80] + }, + "F": { + "min": 175, + "max": 175, + "default": 175, + "supportedValues": [175] + } + } + } + }, + { + "mode": "SteamProof", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 35, + "max": 40, + "default": 35, + "resolution": 5 + }, + "F": { + "min": 95, + "max": 105, + "default": 95, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + } + } + }, + { + "mode": "AirSousvide", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 40, + "max": 95, + "default": 65, + "resolution": 1 + }, + "F": { + "min": 100, + "max": 205, + "default": 150, + "resolution": 1 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "99:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + } + } + }, + { + "mode": "Dehydrate", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 40, + "max": 105, + "default": 65, + "resolution": 5 + }, + "F": { + "min": 100, + "max": 225, + "default": 150, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + } + } + }, + { + "mode": "SelfClean", + "supportedOperations": [], + "supportedOptions": {} + }, + { + "mode": "SteamClean", + "supportedOperations": [], + "supportedOptions": {} + }, + { + "mode": "Descale", + "supportedOperations": [], + "supportedOptions": {} + }, + { + "mode": "Drain", + "supportedOperations": ["set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 285, + "default": 175, + "resolution": 5 + }, + "F": { + "min": 175, + "max": 550, + "default": 350, + "resolution": 5 + } + } + } + }, + { + "mode": "ConvectionVegetable", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 175, + "max": 230, + "default": 205, + "resolution": 5 + }, + "F": { + "min": 350, + "max": 450, + "default": 400, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + }, + "probeTemperature": { + "C": { + "min": 40, + "max": 90, + "default": 65, + "resolution": 1 + }, + "F": { + "min": 100, + "max": 200, + "default": 150, + "resolution": 1 + } + } + } + } + ], + "upper": [ + { + "mode": "Broil", + "supportedOperations": ["set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 61442, + "max": 61441, + "default": 61441, + "supportedValues": [61441, 61442] + }, + "F": { + "min": 61442, + "max": 61441, + "default": 61441, + "supportedValues": [61441, 61442] + } + } + } + }, + { + "mode": "ConvectionBake", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 250, + "default": 160, + "resolution": 5 + }, + "F": { + "min": 175, + "max": 480, + "default": 325, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + }, + "probeTemperature": { + "C": { + "min": 40, + "max": 90, + "default": 65, + "resolution": 1 + }, + "F": { + "min": 100, + "max": 200, + "default": 150, + "resolution": 1 + } + } + } + }, + { + "mode": "ConvectionRoast", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 250, + "default": 160, + "resolution": 5 + }, + "F": { + "min": 175, + "max": 480, + "default": 325, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + }, + "probeTemperature": { + "C": { + "min": 40, + "max": 90, + "default": 65, + "resolution": 1 + }, + "F": { + "min": 100, + "max": 200, + "default": 150, + "resolution": 1 + } + } + } + }, + { + "mode": "Drain", + "supportedOperations": ["set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 250, + "default": 175, + "resolution": 5 + }, + "F": { + "min": 175, + "max": 480, + "default": 350, + "resolution": 5 + } + } + } + } + ], + "lower": [ + { + "mode": "ConvectionBake", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 250, + "default": 160, + "resolution": 5 + }, + "F": { + "min": 175, + "max": 480, + "default": 325, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + }, + "probeTemperature": { + "C": { + "min": 40, + "max": 90, + "default": 65, + "resolution": 1 + }, + "F": { + "min": 100, + "max": 200, + "default": 150, + "resolution": 1 + } + } + } + }, + { + "mode": "Bake", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 250, + "default": 175, + "resolution": 5 + }, + "F": { + "min": 175, + "max": 480, + "default": 350, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "09:59:00", + "default": "01:00:00", + "resolution": "00:01:00" + }, + "probeTemperature": { + "C": { + "min": 40, + "max": 90, + "default": 65, + "resolution": 1 + }, + "F": { + "min": 100, + "max": 200, + "default": 150, + "resolution": 1 + } + } + } + } + ] + }, + "timestamp": "2025-05-30T03:00:41.205Z" + } + }, + "custom.disabledCapabilities": { + "disabledCapabilities": { + "value": [], + "timestamp": "2025-05-30T03:00:41.205Z" + } + }, + "samsungce.definedRecipe": { + "definedRecipe": { + "value": { + "cavityId": "0", + "recipeType": "0", + "categoryId": 0, + "itemId": 0, + "servingSize": 0, + "browingLevel": 0, + "option": 0 + }, + "timestamp": "2025-12-02T09:19:03.438Z" + } + }, + "temperatureMeasurement": { + "temperatureRange": { + "value": null + }, + "temperature": { + "value": 175, + "unit": "F", + "timestamp": "2025-12-02T09:19:03.438Z" + } + }, + "samsungce.ovenOperatingState": { + "completionTime": { + "value": "2025-12-02T09:19:03.431Z", + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "operatingState": { + "value": "ready", + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "progress": { + "value": 1, + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "ovenJobState": { + "value": "ready", + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "operationTime": { + "value": "00:00:00", + "timestamp": "2025-12-02T09:19:03.438Z" + } + }, + "ovenMode": { + "supportedOvenModes": { + "value": [ + "Bake", + "Broil", + "ConvectionBake", + "ConvectionRoast", + "Others", + "SteamBake", + "SteamRoast", + "warming", + "Dehydrate" + ], + "timestamp": "2025-12-02T09:19:03.336Z" + }, + "ovenMode": { + "value": "Others", + "timestamp": "2025-12-02T09:19:03.438Z" + } + }, + "ovenOperatingState": { + "completionTime": { + "value": "2025-12-02T09:19:03.431Z", + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "machineState": { + "value": "ready", + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "progress": { + "value": 1, + "unit": "%", + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "supportedMachineStates": { + "value": null + }, + "ovenJobState": { + "value": "ready", + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "operationTime": { + "value": 0, + "timestamp": "2025-12-02T09:19:03.438Z" + } + }, + "samsungce.ovenMode": { + "supportedOvenModes": { + "value": [ + "Bake", + "Broil", + "ConvectionBake", + "ConvectionRoast", + "AirFryer", + "SteamBake", + "SteamRoast", + "SteamCook", + "KeepWarm", + "SteamProof", + "AirSousvide", + "Dehydrate", + "SelfClean", + "SteamClean", + "Descale", + "Drain", + "ConvectionVegetable" + ], + "timestamp": "2025-12-02T09:19:03.336Z" + }, + "ovenMode": { + "value": "NoOperation", + "timestamp": "2025-12-02T09:19:03.438Z" + } + }, + "samsungce.lamp": { + "brightnessLevel": { + "value": "off", + "timestamp": "2025-12-02T09:19:03.438Z" + }, + "supportedBrightnessLevel": { + "value": ["off", "high"], + "timestamp": "2025-12-02T09:19:03.438Z" + } + } + }, + "main": { + "samsungce.meatProbe": { + "temperatureSetpoint": { + "value": 0, + "unit": "F", + "timestamp": "2025-12-02T13:38:51.650Z" + }, + "temperature": { + "value": 0, + "unit": "F", + "timestamp": "2025-12-02T13:38:51.650Z" + }, + "status": { + "value": "disconnected", + "timestamp": "2025-12-02T13:38:43.692Z" + } + }, + "samsungce.waterReservoir": { + "slotState": { + "value": null + } + }, + "samsungce.kitchenDeviceDefaults": { + "defaultOperationTime": { + "value": 3600, + "timestamp": "2025-12-02T13:38:51.766Z" + }, + "defaultOvenMode": { + "value": "Convection", + "timestamp": "2025-12-02T13:38:43.692Z" + }, + "defaultOvenSetpoint": { + "value": null + } + }, + "samsungce.deviceIdentification": { + "micomAssayCode": { + "value": "40464741", + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "modelName": { + "value": null + }, + "serialNumber": { + "value": null + }, + "serialNumberExtra": { + "value": null + }, + "modelClassificationCode": { + "value": "5002011e0217235d0a00000000000000", + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "description": { + "value": "LCD_S905D3_COMBI_PP_US_23K", + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "releaseYear": { + "value": 23, + "timestamp": "2025-06-13T18:24:29.191Z" + }, + "binaryId": { + "value": "LCD_S905D3_COMBI_PP_US_23K", + "timestamp": "2025-12-02T09:19:03.453Z" + } + }, + "ocf": { + "st": { + "value": "2024-07-05T23:52:58Z", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "mndt": { + "value": "", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "mnfv": { + "value": "20230413.181729", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "mnhw": { + "value": "", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "di": { + "value": "1c77a562-df00-7d6a-ca73-b67f6d4c4607", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "mnsl": { + "value": "", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "dmv": { + "value": "res.1.1.0,sh.1.1.0", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "n": { + "value": "[oven] Samsung (LCD)", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "mnmo": { + "value": "LCD_S905D3_COMBI_PP_US_23K|40464741|5002011e0217235d0a00000000000000", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "vid": { + "value": "DA-KS-WALLOVEN-0107X", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "mnmn": { + "value": "Samsung Electronics", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "mnml": { + "value": "", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "mnpv": { + "value": "20230413_094114", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "mnos": { + "value": "Tizen", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "pi": { + "value": "1c77a562-df00-7d6a-ca73-b67f6d4c4607", + "timestamp": "2025-06-20T05:02:33.441Z" + }, + "icv": { + "value": "core.1.1.0", + "timestamp": "2025-06-20T05:02:33.441Z" + } + }, + "samsungce.kitchenDeviceIdentification": { + "regionCode": { + "value": "US", + "timestamp": "2025-12-02T13:38:43.692Z" + }, + "modelCode": { + "value": "NQ7000CD/AA0", + "timestamp": "2025-12-02T13:38:43.692Z" + }, + "fuel": { + "value": null + }, + "type": { + "value": "oven", + "timestamp": "2025-06-13T18:24:29.206Z" + }, + "representativeComponent": { + "value": "cavity-02", + "timestamp": "2025-12-02T09:19:03.456Z" + } + }, + "samsungce.kitchenModeSpecification": { + "specification": { + "value": { + "single": [ + { + "mode": "MicroWave", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 285, + "default": 175, + "resolution": 5 + }, + "F": { + "min": 175, + "max": 550, + "default": 350, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "01:30:00", + "default": "01:00:00", + "resolution": "00:01:00" + }, + "powerLevel": { + "default": "850W", + "supportedValues": [ + "850W", + "850W", + "850W", + "850W", + "850W", + "850W", + "850W", + "850W", + "850W", + "850W" + ] + } + } + }, + { + "mode": "BroilS", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 0, + "max": 0, + "default": 0, + "supportedValues": [0] + }, + "F": { + "min": 0, + "max": 0, + "default": 0, + "supportedValues": [0] + } + }, + "operationTime": { + "min": "00:01:00", + "max": "01:30:00", + "default": "01:00:00", + "resolution": "00:01:00" + } + } + }, + { + "mode": "SpeedBroil", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 0, + "max": 0, + "default": 0, + "supportedValues": [0] + }, + "F": { + "min": 0, + "max": 0, + "default": 0, + "supportedValues": [0] + } + }, + "operationTime": { + "min": "00:01:00", + "max": "01:30:00", + "default": "01:00:00", + "resolution": "00:01:00" + }, + "powerLevel": { + "default": "850W", + "supportedValues": [ + "850W", + "850W", + "850W", + "850W", + "850W", + "850W", + "850W" + ] + } + } + }, + { + "mode": "Autocook", + "supportedOperations": ["set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 80, + "max": 285, + "default": 175, + "resolution": 5 + }, + "F": { + "min": 175, + "max": 550, + "default": 350, + "resolution": 5 + } + }, + "powerLevel": { + "default": "850W", + "supportedValues": [ + "850W", + "850W", + "850W", + "850W", + "850W", + "850W", + "850W" + ] + } + } + }, + { + "mode": "PowerConvection", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 40, + "max": 230, + "default": 175, + "resolution": 5 + }, + "F": { + "min": 100, + "max": 450, + "default": 350, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "02:00:00", + "default": "01:00:00", + "resolution": "00:01:00" + } + } + }, + { + "mode": "SpeedPowerConvection", + "supportedOperations": ["start", "set"], + "supportedOptions": { + "temperature": { + "C": { + "min": 40, + "max": 230, + "default": 175, + "resolution": 5 + }, + "F": { + "min": 100, + "max": 450, + "default": 350, + "resolution": 5 + } + }, + "operationTime": { + "min": "00:01:00", + "max": "01:30:00", + "default": "01:00:00", + "resolution": "00:01:00" + }, + "powerLevel": { + "default": "850W", + "supportedValues": [ + "850W", + "850W", + "850W", + "850W", + "850W", + "850W", + "850W" + ] + } + } + } + ] + }, + "timestamp": "2025-12-02T09:19:03.456Z" + } + }, + "custom.disabledCapabilities": { + "disabledCapabilities": { + "value": [ + "sec.wifiConfiguration", + "samsungce.waterReservoir", + "samsungce.ovenDrainageRequirement" + ], + "timestamp": "2025-05-30T03:07:16.449Z" + } + }, + "samsungce.driverVersion": { + "versionNumber": { + "value": 25040101, + "timestamp": "2025-06-13T18:24:29.206Z" + } + }, + "sec.diagnosticsInformation": { + "logType": { + "value": ["errCode", "dump"], + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "endpoint": { + "value": "SSM", + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "minVersion": { + "value": "1.0", + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "signinPermission": { + "value": null + }, + "setupId": { + "value": "KVL", + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "protocolType": { + "value": "wifi_https", + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "tsId": { + "value": null + }, + "mnId": { + "value": "0AJT", + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "dumpType": { + "value": "file", + "timestamp": "2025-12-02T09:19:03.456Z" + } + }, + "temperatureMeasurement": { + "temperatureRange": { + "value": null + }, + "temperature": { + "value": 175, + "unit": "F", + "timestamp": "2025-12-02T13:38:51.650Z" + } + }, + "samsungce.ovenOperatingState": { + "completionTime": { + "value": "2025-12-02T13:41:51.754Z", + "timestamp": "2025-12-02T13:40:51.760Z" + }, + "operatingState": { + "value": "running", + "timestamp": "2025-12-02T13:38:51.766Z" + }, + "progress": { + "value": 66, + "timestamp": "2025-12-02T13:40:51.760Z" + }, + "ovenJobState": { + "value": "cooking", + "timestamp": "2025-12-02T13:38:51.735Z" + }, + "operationTime": { + "value": "00:03:00", + "timestamp": "2025-12-02T13:38:51.766Z" + } + }, + "ovenMode": { + "supportedOvenModes": { + "value": ["Microwave", "Others"], + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "ovenMode": { + "value": "Microwave", + "timestamp": "2025-12-02T13:38:51.705Z" + } + }, + "samsungce.ovenMode": { + "supportedOvenModes": { + "value": [ + "MicroWave", + "BroilS", + "SpeedBroil", + "Autocook", + "PowerConvection", + "SpeedPowerConvection" + ], + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "ovenMode": { + "value": "MicroWave", + "timestamp": "2025-12-02T13:38:51.705Z" + } + }, + "samsungce.kidsLock": { + "lockState": { + "value": "unlocked", + "timestamp": "2025-12-02T09:19:03.456Z" + } + }, + "samsungce.sabbathMode": { + "supportedActions": { + "value": null + }, + "status": { + "value": "off", + "timestamp": "2025-12-02T13:38:43.692Z" + } + }, + "powerConsumptionReport": { + "powerConsumption": { + "value": { + "energy": 0, + "deltaEnergy": 0, + "power": 0, + "powerEnergy": 0.0, + "persistedEnergy": 0, + "energySaved": 0, + "start": "2025-12-02T02:44:17Z", + "end": "2025-12-02T09:19:03Z" + }, + "timestamp": "2025-12-02T09:19:03.456Z" + } + }, + "ovenSetpoint": { + "ovenSetpointRange": { + "value": null + }, + "ovenSetpoint": { + "value": 0, + "timestamp": "2025-12-02T13:38:51.650Z" + } + }, + "refresh": {}, + "samsungce.doorState": { + "doorState": { + "value": "closed", + "timestamp": "2025-12-02T13:38:48.734Z" + } + }, + "execute": { + "data": { + "value": null + } + }, + "samsungce.ovenDrainageRequirement": { + "drainageRequirement": { + "value": null + } + }, + "sec.wifiConfiguration": { + "autoReconnection": { + "value": null + }, + "minVersion": { + "value": null + }, + "supportedWiFiFreq": { + "value": null + }, + "supportedAuthType": { + "value": null + }, + "protocolType": { + "value": null + } + }, + "samsungce.softwareVersion": { + "versions": { + "value": [ + { + "id": "0", + "swType": "Software", + "versionNumber": "20230413_094114", + "description": "Version" + }, + { + "id": "1", + "swType": "Firmware", + "versionNumber": "23041300,23033000", + "description": "Version" + } + ], + "timestamp": "2025-12-02T09:19:03.456Z" + } + }, + "remoteControlStatus": { + "remoteControlEnabled": { + "value": "false", + "timestamp": "2025-12-02T09:19:03.456Z" + } + }, + "custom.energyType": { + "energyType": { + "value": "2.0", + "timestamp": "2025-05-30T03:00:41.205Z" + }, + "energySavingSupport": { + "value": null + }, + "drMaxDuration": { + "value": null + }, + "energySavingLevel": { + "value": null + }, + "energySavingInfo": { + "value": null + }, + "supportedEnergySavingLevels": { + "value": null + }, + "energySavingOperation": { + "value": null + }, + "notificationTemplateID": { + "value": null + }, + "energySavingOperationSupport": { + "value": null + } + }, + "samsungce.definedRecipe": { + "definedRecipe": { + "value": { + "cavityId": "0", + "recipeType": "0", + "categoryId": 0, + "itemId": 0, + "servingSize": 0, + "browingLevel": 0, + "option": 0 + }, + "timestamp": "2025-12-02T09:19:03.456Z" + } + }, + "samsungce.softwareUpdate": { + "targetModule": { + "value": null + }, + "otnDUID": { + "value": "XTCB2ZD4KZBD2", + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "lastUpdatedDate": { + "value": null + }, + "availableModules": { + "value": [], + "timestamp": "2025-05-30T03:00:41.172Z" + }, + "newVersionAvailable": { + "value": false, + "timestamp": "2025-12-02T09:19:03.456Z" + }, + "operatingState": { + "value": null + }, + "progress": { + "value": null + } + }, + "ovenOperatingState": { + "completionTime": { + "value": "2025-12-02T13:41:51.754Z", + "timestamp": "2025-12-02T13:40:51.760Z" + }, + "machineState": { + "value": "running", + "timestamp": "2025-12-02T13:38:51.766Z" + }, + "progress": { + "value": 66, + "unit": "%", + "timestamp": "2025-12-02T13:40:51.760Z" + }, + "supportedMachineStates": { + "value": null + }, + "ovenJobState": { + "value": "cooking", + "timestamp": "2025-12-02T13:38:51.735Z" + }, + "operationTime": { + "value": 180, + "timestamp": "2025-12-02T13:38:51.766Z" + } + }, + "samsungce.lamp": { + "brightnessLevel": { + "value": "high", + "timestamp": "2025-12-02T13:38:51.704Z" + }, + "supportedBrightnessLevel": { + "value": ["off", "high"], + "timestamp": "2025-12-02T13:38:43.692Z" + } + } + } + } +} diff --git a/tests/components/smartthings/fixtures/devices/da_ks_walloven_0107x.json b/tests/components/smartthings/fixtures/devices/da_ks_walloven_0107x.json new file mode 100644 index 00000000000..d561a37eaca --- /dev/null +++ b/tests/components/smartthings/fixtures/devices/da_ks_walloven_0107x.json @@ -0,0 +1,293 @@ +{ + "items": [ + { + "deviceId": "1c77a562-df00-7d6a-ca73-b67f6d4c4607", + "name": "[oven] Samsung (LCD)", + "label": "Four", + "manufacturerName": "Samsung Electronics", + "presentationId": "DA-KS-WALLOVEN-0107X", + "deviceManufacturerCode": "Samsung Electronics", + "locationId": "8f6b1123-6539-42b7-9e88-191a65feb0d5", + "ownerId": "644db67a-f2ed-58a8-2915-172ca7a5f817", + "roomId": "8554374b-2db3-455c-bc23-a514d52fdae8", + "deviceTypeName": "Samsung OCF Oven", + "components": [ + { + "id": "main", + "label": "main", + "capabilities": [ + { + "id": "ocf", + "version": 1 + }, + { + "id": "execute", + "version": 1 + }, + { + "id": "refresh", + "version": 1 + }, + { + "id": "ovenMode", + "version": 1 + }, + { + "id": "ovenOperatingState", + "version": 1 + }, + { + "id": "remoteControlStatus", + "version": 1 + }, + { + "id": "ovenSetpoint", + "version": 1 + }, + { + "id": "temperatureMeasurement", + "version": 1 + }, + { + "id": "powerConsumptionReport", + "version": 1 + }, + { + "id": "samsungce.deviceIdentification", + "version": 1 + }, + { + "id": "samsungce.driverVersion", + "version": 1 + }, + { + "id": "samsungce.ovenMode", + "version": 1 + }, + { + "id": "samsungce.ovenOperatingState", + "version": 1 + }, + { + "id": "samsungce.doorState", + "version": 1 + }, + { + "id": "samsungce.meatProbe", + "version": 1 + }, + { + "id": "samsungce.lamp", + "version": 1 + }, + { + "id": "samsungce.definedRecipe", + "version": 1 + }, + { + "id": "samsungce.kitchenDeviceIdentification", + "version": 1 + }, + { + "id": "samsungce.kitchenModeSpecification", + "version": 1 + }, + { + "id": "samsungce.kitchenDeviceDefaults", + "version": 1 + }, + { + "id": "samsungce.kidsLock", + "version": 1 + }, + { + "id": "samsungce.softwareUpdate", + "version": 1 + }, + { + "id": "samsungce.waterReservoir", + "version": 1 + }, + { + "id": "samsungce.ovenDrainageRequirement", + "version": 1 + }, + { + "id": "samsungce.sabbathMode", + "version": 1 + }, + { + "id": "custom.disabledCapabilities", + "version": 1 + }, + { + "id": "custom.energyType", + "version": 1 + }, + { + "id": "sec.diagnosticsInformation", + "version": 1 + }, + { + "id": "sec.wifiConfiguration", + "version": 1 + }, + { + "id": "samsungce.softwareVersion", + "version": 1 + } + ], + "categories": [ + { + "name": "Oven", + "categoryType": "manufacturer" + } + ], + "optional": false + }, + { + "id": "cavity-02", + "label": "cavity-02", + "capabilities": [ + { + "id": "remoteControlStatus", + "version": 1 + }, + { + "id": "ovenMode", + "version": 1 + }, + { + "id": "ovenOperatingState", + "version": 1 + }, + { + "id": "ovenSetpoint", + "version": 1 + }, + { + "id": "temperatureMeasurement", + "version": 1 + }, + { + "id": "samsungce.ovenMode", + "version": 1 + }, + { + "id": "samsungce.ovenOperatingState", + "version": 1 + }, + { + "id": "samsungce.doorState", + "version": 1 + }, + { + "id": "samsungce.meatProbe", + "version": 1 + }, + { + "id": "samsungce.lamp", + "version": 1 + }, + { + "id": "samsungce.definedRecipe", + "version": 1 + }, + { + "id": "samsungce.kitchenModeSpecification", + "version": 1 + }, + { + "id": "custom.disabledCapabilities", + "version": 1 + } + ], + "categories": [ + { + "name": "Other", + "categoryType": "manufacturer" + } + ], + "optional": false + }, + { + "id": "cavity-03", + "label": "cavity-03", + "capabilities": [ + { + "id": "ovenMode", + "version": 1 + }, + { + "id": "ovenOperatingState", + "version": 1 + }, + { + "id": "ovenSetpoint", + "version": 1 + }, + { + "id": "temperatureMeasurement", + "version": 1 + }, + { + "id": "samsungce.ovenMode", + "version": 1 + }, + { + "id": "samsungce.definedRecipe", + "version": 1 + }, + { + "id": "samsungce.ovenOperatingState", + "version": 1 + }, + { + "id": "custom.ovenCavityStatus", + "version": 1 + }, + { + "id": "custom.disabledCapabilities", + "version": 1 + } + ], + "categories": [ + { + "name": "Other", + "categoryType": "manufacturer" + } + ], + "optional": false + } + ], + "createTime": "2025-05-30T03:00:40.013Z", + "profile": { + "id": "c693a30d-3933-37c9-9238-378fe790f79e" + }, + "ocf": { + "ocfDeviceType": "oic.d.oven", + "name": "[oven] Samsung (LCD)", + "specVersion": "core.1.1.0", + "verticalDomainSpecVersion": "res.1.1.0,sh.1.1.0", + "manufacturerName": "Samsung Electronics", + "modelNumber": "LCD_S905D3_COMBI_PP_US_23K|40464741|5002011e0217235d0a00000000000000", + "platformVersion": "20230413_094114", + "platformOS": "Tizen", + "hwVersion": "", + "firmwareVersion": "20230413.181729", + "vendorId": "DA-KS-WALLOVEN-0107X", + "vendorResourceClientServerVersion": "3.0.21", + "locale": "", + "lastSignupTime": "2025-05-30T03:06:59.937342457Z", + "transferCandidate": false, + "additionalAuthCodeRequired": false + }, + "type": "OCF", + "restrictionTier": 0, + "allowed": null, + "executionContext": "CLOUD", + "relationships": [] + } + ], + "_links": {} +} diff --git a/tests/components/smartthings/snapshots/test_binary_sensor.ambr b/tests/components/smartthings/snapshots/test_binary_sensor.ambr index 254424956a9..c4048af8528 100644 --- a/tests/components/smartthings/snapshots/test_binary_sensor.ambr +++ b/tests/components/smartthings/snapshots/test_binary_sensor.ambr @@ -922,6 +922,151 @@ 'state': 'on', }) # --- +# name: test_all_entities[da_ks_walloven_0107x][binary_sensor.four_child_lock-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'binary_sensor', + 'entity_category': None, + 'entity_id': 'binary_sensor.four_child_lock', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Child lock', + 'platform': 'smartthings', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'child_lock', + 'unique_id': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_samsungce.kidsLock_lockState_lockState', + 'unit_of_measurement': None, + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][binary_sensor.four_child_lock-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Four Child lock', + }), + 'context': , + 'entity_id': 'binary_sensor.four_child_lock', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'off', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][binary_sensor.four_door-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'binary_sensor', + 'entity_category': None, + 'entity_id': 'binary_sensor.four_door', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Door', + 'platform': 'smartthings', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'door', + 'unique_id': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_samsungce.doorState_doorState_doorState', + 'unit_of_measurement': None, + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][binary_sensor.four_door-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'opening', + 'friendly_name': 'Four Door', + }), + 'context': , + 'entity_id': 'binary_sensor.four_door', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'off', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][binary_sensor.four_remote_control-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'binary_sensor', + 'entity_category': None, + 'entity_id': 'binary_sensor.four_remote_control', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Remote control', + 'platform': 'smartthings', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'remote_control', + 'unique_id': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_remoteControlStatus_remoteControlEnabled_remoteControlEnabled', + 'unit_of_measurement': None, + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][binary_sensor.four_remote_control-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Four Remote control', + }), + 'context': , + 'entity_id': 'binary_sensor.four_remote_control', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'off', + }) +# --- # name: test_all_entities[da_ref_normal_000001][binary_sensor.refrigerator_filter_status-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ diff --git a/tests/components/smartthings/snapshots/test_button.ambr b/tests/components/smartthings/snapshots/test_button.ambr index 00ee0233215..646f18e834f 100644 --- a/tests/components/smartthings/snapshots/test_button.ambr +++ b/tests/components/smartthings/snapshots/test_button.ambr @@ -191,6 +191,54 @@ 'state': 'unknown', }) # --- +# name: test_all_entities[da_ks_walloven_0107x][button.four_stop-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': None, + 'entity_id': 'button.four_stop', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + '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': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_ovenOperatingState_stop', + 'unit_of_measurement': None, + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][button.four_stop-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Four Stop', + }), + 'context': , + 'entity_id': 'button.four_stop', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- # name: test_all_entities[da_ref_normal_000001][button.refrigerator_reset_water_filter-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ diff --git a/tests/components/smartthings/snapshots/test_init.ambr b/tests/components/smartthings/snapshots/test_init.ambr index 270344f98f6..058784b5dc3 100644 --- a/tests/components/smartthings/snapshots/test_init.ambr +++ b/tests/components/smartthings/snapshots/test_init.ambr @@ -715,6 +715,37 @@ 'via_device_id': None, }) # --- +# name: test_devices[da_ks_walloven_0107x] + DeviceRegistryEntrySnapshot({ + 'area_id': None, + 'config_entries': , + 'config_entries_subentries': , + 'configuration_url': 'https://account.smartthings.com', + 'connections': set({ + }), + 'disabled_by': None, + 'entry_type': None, + 'hw_version': '', + 'id': , + 'identifiers': set({ + tuple( + 'smartthings', + '1c77a562-df00-7d6a-ca73-b67f6d4c4607', + ), + }), + 'labels': set({ + }), + 'manufacturer': 'Samsung Electronics', + 'model': 'LCD_S905D3_COMBI_PP_US_23K', + 'model_id': None, + 'name': 'Four', + 'name_by_user': None, + 'primary_config_entry': , + 'serial_number': None, + 'sw_version': '20230413.181729', + 'via_device_id': None, + }) +# --- # name: test_devices[da_ref_normal_000001] DeviceRegistryEntrySnapshot({ 'area_id': 'theater', diff --git a/tests/components/smartthings/snapshots/test_select.ambr b/tests/components/smartthings/snapshots/test_select.ambr index 9e679dc4d1b..fb99983a74b 100644 --- a/tests/components/smartthings/snapshots/test_select.ambr +++ b/tests/components/smartthings/snapshots/test_select.ambr @@ -351,6 +351,63 @@ 'state': 'extra_high', }) # --- +# name: test_all_entities[da_ks_walloven_0107x][select.four_lamp-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': dict({ + 'options': list([ + 'off', + 'high', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'select', + 'entity_category': , + 'entity_id': 'select.four_lamp', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Lamp', + 'platform': 'smartthings', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lamp', + 'unique_id': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_samsungce.lamp_brightnessLevel_brightnessLevel', + 'unit_of_measurement': None, + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][select.four_lamp-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Four Lamp', + 'options': list([ + 'off', + 'high', + ]), + }), + 'context': , + 'entity_id': 'select.four_lamp', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'high', + }) +# --- # name: test_all_entities[da_rvc_map_01011][select.robot_vacuum_lamp-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ diff --git a/tests/components/smartthings/snapshots/test_sensor.ambr b/tests/components/smartthings/snapshots/test_sensor.ambr index 11fe5e8ba42..db97880da7d 100644 --- a/tests/components/smartthings/snapshots/test_sensor.ambr +++ b/tests/components/smartthings/snapshots/test_sensor.ambr @@ -6056,6 +6056,698 @@ 'state': '218.333333333333', }) # --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_completion_time-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.four_completion_time', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Completion time', + 'platform': 'smartthings', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'completion_time', + 'unique_id': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_ovenOperatingState_completionTime_completionTime', + 'unit_of_measurement': None, + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_completion_time-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'timestamp', + 'friendly_name': 'Four Completion time', + }), + 'context': , + 'entity_id': 'sensor.four_completion_time', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2025-12-02T13:41:51+00:00', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_energy-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': dict({ + 'state_class': , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.four_energy', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 2, + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Energy', + 'platform': 'smartthings', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_powerConsumptionReport_powerConsumption_energy_meter', + 'unit_of_measurement': , + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_energy-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'energy', + 'friendly_name': 'Four Energy', + 'state_class': , + 'unit_of_measurement': , + }), + 'context': , + 'entity_id': 'sensor.four_energy', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0.0', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_energy_difference-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': dict({ + 'state_class': , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.four_energy_difference', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 2, + }), + }), + 'original_device_class': , + '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': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_powerConsumptionReport_powerConsumption_deltaEnergy_meter', + 'unit_of_measurement': , + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_energy_difference-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'energy', + 'friendly_name': 'Four Energy difference', + 'state_class': , + 'unit_of_measurement': , + }), + 'context': , + 'entity_id': 'sensor.four_energy_difference', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0.0', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_energy_saved-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': dict({ + 'state_class': , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.four_energy_saved', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 2, + }), + }), + 'original_device_class': , + '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': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_powerConsumptionReport_powerConsumption_energySaved_meter', + 'unit_of_measurement': , + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_energy_saved-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'energy', + 'friendly_name': 'Four Energy saved', + 'state_class': , + 'unit_of_measurement': , + }), + 'context': , + 'entity_id': 'sensor.four_energy_saved', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0.0', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_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': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.four_job_state', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Job state', + 'platform': 'smartthings', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'oven_job_state', + 'unique_id': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_ovenOperatingState_ovenJobState_ovenJobState', + 'unit_of_measurement': None, + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_job_state-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'enum', + 'friendly_name': 'Four 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': , + 'entity_id': 'sensor.four_job_state', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'cooking', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_machine_state-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': dict({ + 'options': list([ + 'ready', + 'running', + 'paused', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.four_machine_state', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Machine state', + 'platform': 'smartthings', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'oven_machine_state', + 'unique_id': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_ovenOperatingState_machineState_machineState', + 'unit_of_measurement': None, + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_machine_state-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'enum', + 'friendly_name': 'Four Machine state', + 'options': list([ + 'ready', + 'running', + 'paused', + ]), + }), + 'context': , + 'entity_id': 'sensor.four_machine_state', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'running', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_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': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.four_oven_mode', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + }), + 'original_device_class': , + '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': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_ovenMode_ovenMode_ovenMode', + 'unit_of_measurement': None, + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_oven_mode-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'enum', + 'friendly_name': 'Four 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': , + 'entity_id': 'sensor.four_oven_mode', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'microwave', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_power-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': dict({ + 'state_class': , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.four_power', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 2, + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Power', + 'platform': 'smartthings', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_powerConsumptionReport_powerConsumption_power_meter', + 'unit_of_measurement': , + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_power-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'power', + 'friendly_name': 'Four Power', + 'power_consumption_end': '2025-12-02T09:19:03Z', + 'power_consumption_start': '2025-12-02T02:44:17Z', + 'state_class': , + 'unit_of_measurement': , + }), + 'context': , + 'entity_id': 'sensor.four_power', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_power_energy-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': dict({ + 'state_class': , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.four_power_energy', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 2, + }), + }), + 'original_device_class': , + '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': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_powerConsumptionReport_powerConsumption_powerEnergy_meter', + 'unit_of_measurement': , + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_power_energy-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'energy', + 'friendly_name': 'Four Power energy', + 'state_class': , + 'unit_of_measurement': , + }), + 'context': , + 'entity_id': 'sensor.four_power_energy', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0.0', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_setpoint-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.four_setpoint', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 1, + }), + }), + 'original_device_class': , + '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': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_ovenSetpoint_ovenSetpoint_ovenSetpoint', + 'unit_of_measurement': , + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_setpoint-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'temperature', + 'friendly_name': 'Four Setpoint', + 'unit_of_measurement': , + }), + 'context': , + 'entity_id': 'sensor.four_setpoint', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_temperature-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': dict({ + 'state_class': , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.four_temperature', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 1, + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Temperature', + 'platform': 'smartthings', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_temperatureMeasurement_temperature_temperature', + 'unit_of_measurement': , + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][sensor.four_temperature-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'temperature', + 'friendly_name': 'Four Temperature', + 'state_class': , + 'unit_of_measurement': , + }), + 'context': , + 'entity_id': 'sensor.four_temperature', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '79.4444444444444', + }) +# --- # name: test_all_entities[da_ref_normal_000001][sensor.refrigerator_energy-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ diff --git a/tests/components/smartthings/snapshots/test_switch.ambr b/tests/components/smartthings/snapshots/test_switch.ambr index 33b9ca5e757..b485fcd30b8 100644 --- a/tests/components/smartthings/snapshots/test_switch.ambr +++ b/tests/components/smartthings/snapshots/test_switch.ambr @@ -191,6 +191,54 @@ 'state': 'off', }) # --- +# name: test_all_entities[da_ks_walloven_0107x][switch.four_sabbath_mode-entry] + EntityRegistryEntrySnapshot({ + 'aliases': set({ + }), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'switch', + 'entity_category': , + 'entity_id': 'switch.four_sabbath_mode', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Sabbath mode', + 'platform': 'smartthings', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'sabbath_mode', + 'unique_id': '1c77a562-df00-7d6a-ca73-b67f6d4c4607_main_samsungce.sabbathMode_status_status', + 'unit_of_measurement': None, + }) +# --- +# name: test_all_entities[da_ks_walloven_0107x][switch.four_sabbath_mode-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Four Sabbath mode', + }), + 'context': , + 'entity_id': 'switch.four_sabbath_mode', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'off', + }) +# --- # name: test_all_entities[da_ref_normal_000001][switch.refrigerator_cubed_ice-entry] EntityRegistryEntrySnapshot({ 'aliases': set({