mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Deprecate switch entity for airdresser (#141470)
* Deprecate switch entity for airdresser * Deprecate switch entity for airdresser
This commit is contained in:
parent
b5910dd7d6
commit
63d4efda2e
@ -133,6 +133,7 @@ CAPABILITY_TO_SENSORS: dict[
|
||||
device_class=BinarySensorDeviceClass.POWER,
|
||||
is_on_key="on",
|
||||
category={
|
||||
Category.CLOTHING_CARE_MACHINE,
|
||||
Category.DISHWASHER,
|
||||
Category.DRYER,
|
||||
Category.MICROWAVE,
|
||||
|
@ -187,6 +187,7 @@ class SmartThingsSwitch(SmartThingsEntity, SwitchEntity):
|
||||
if self.entity_description != SWITCH or self.device.device.components[
|
||||
MAIN
|
||||
].manufacturer_category not in {
|
||||
Category.CLOTHING_CARE_MACHINE,
|
||||
Category.DRYER,
|
||||
Category.WASHER,
|
||||
Category.MICROWAVE,
|
||||
@ -229,6 +230,7 @@ class SmartThingsSwitch(SmartThingsEntity, SwitchEntity):
|
||||
if self.entity_description != SWITCH or self.device.device.components[
|
||||
MAIN
|
||||
].manufacturer_category not in {
|
||||
Category.CLOTHING_CARE_MACHINE,
|
||||
Category.DRYER,
|
||||
Category.WASHER,
|
||||
Category.MICROWAVE,
|
||||
|
@ -114,6 +114,7 @@ def mock_smartthings() -> Generator[AsyncMock]:
|
||||
"da_wm_wd_000001_1",
|
||||
"da_wm_wm_000001",
|
||||
"da_wm_wm_000001_1",
|
||||
"da_wm_sc_000001",
|
||||
"da_rvc_normal_000001",
|
||||
"da_ks_microwave_0101x",
|
||||
"da_ks_range_0101x",
|
||||
|
@ -0,0 +1,929 @@
|
||||
{
|
||||
"components": {
|
||||
"main": {
|
||||
"samsungce.welcomeMessage": {
|
||||
"welcomeMessage": {
|
||||
"value": null
|
||||
}
|
||||
},
|
||||
"samsungce.deviceIdentification": {
|
||||
"micomAssayCode": {
|
||||
"value": "20299141",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"modelName": {
|
||||
"value": null
|
||||
},
|
||||
"serialNumber": {
|
||||
"value": null
|
||||
},
|
||||
"serialNumberExtra": {
|
||||
"value": null
|
||||
},
|
||||
"modelClassificationCode": {
|
||||
"value": "3801010200151107020100FF00000000",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"description": {
|
||||
"value": "DA_DF_TP2_20_COMMON_DF8500A/DC92-02995A_0010",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"releaseYear": {
|
||||
"value": null
|
||||
},
|
||||
"binaryId": {
|
||||
"value": "DA_DF_TP2_20_COMMON",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"samsungce.steamClosetCycle": {
|
||||
"supportedCycles": {
|
||||
"value": [
|
||||
{
|
||||
"cycle": "22",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6106",
|
||||
"default": "off",
|
||||
"options": ["off", "on"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "23",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "32",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "09",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "12",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "0C",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "31",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "0B",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "10",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "0A",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6106",
|
||||
"default": "off",
|
||||
"options": ["off", "on"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "14",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "13",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6106",
|
||||
"default": "off",
|
||||
"options": ["off", "on"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "16",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "24",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6206",
|
||||
"default": "on",
|
||||
"options": ["off", "on"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "25",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6206",
|
||||
"default": "on",
|
||||
"options": ["off", "on"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "2F",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6206",
|
||||
"default": "on",
|
||||
"options": ["off", "on"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "20",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6204",
|
||||
"default": "on",
|
||||
"options": ["on"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "0F",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "66F0",
|
||||
"default": "off",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6204",
|
||||
"default": "on",
|
||||
"options": ["on"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "27",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "30",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "15",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "1A",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "1B",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "1C",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "2D",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "660F",
|
||||
"default": "on",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "07",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "66F0",
|
||||
"default": "off",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cycle": "08",
|
||||
"supportedOptions": {
|
||||
"keepFresh": {
|
||||
"raw": "66F0",
|
||||
"default": "off",
|
||||
"options": ["on", "off"]
|
||||
},
|
||||
"sanitize": {
|
||||
"raw": "6102",
|
||||
"default": "off",
|
||||
"options": ["off"]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"steamClosetCycle": {
|
||||
"value": "Table_00_Course_22",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"referenceTable": {
|
||||
"value": {
|
||||
"id": "Table_00"
|
||||
},
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"switch": {
|
||||
"switch": {
|
||||
"value": "off",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"samsungce.quickControl": {
|
||||
"version": {
|
||||
"value": null
|
||||
}
|
||||
},
|
||||
"ocf": {
|
||||
"st": {
|
||||
"value": null
|
||||
},
|
||||
"mndt": {
|
||||
"value": null
|
||||
},
|
||||
"mnfv": {
|
||||
"value": "DA_DF_TP2_20_COMMON_30230807",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"mnhw": {
|
||||
"value": "MediaTek",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"di": {
|
||||
"value": "b93211bf-9d96-bd21-3b2f-964fcc87f5cc",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"mnsl": {
|
||||
"value": "http://www.samsung.com",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"dmv": {
|
||||
"value": "res.1.1.0,sh.1.1.0",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"n": {
|
||||
"value": "[airdresser] Samsung",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"mnmo": {
|
||||
"value": "DA_DF_TP2_20_COMMON|20299141|3801010200151107020100FF00000000",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"vid": {
|
||||
"value": "DA-WM-SC-000001",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"mnmn": {
|
||||
"value": "Samsung Electronics",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"mnml": {
|
||||
"value": "http://www.samsung.com",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"mnpv": {
|
||||
"value": "DAWIT 2.0",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"mnos": {
|
||||
"value": "TizenRT 2.0 + IPv6",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"pi": {
|
||||
"value": "b93211bf-9d96-bd21-3b2f-964fcc87f5cc",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
},
|
||||
"icv": {
|
||||
"value": "core.1.1.0",
|
||||
"timestamp": "2025-01-14T01:42:53.834Z"
|
||||
}
|
||||
},
|
||||
"samsungce.steamClosetCyclePreset": {
|
||||
"maxNumberOfPresets": {
|
||||
"value": 10,
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"presets": {
|
||||
"value": {
|
||||
"F1": {},
|
||||
"F2": {},
|
||||
"F3": {},
|
||||
"F4": {},
|
||||
"F5": {},
|
||||
"F6": {},
|
||||
"F7": {},
|
||||
"F8": {},
|
||||
"F9": {},
|
||||
"FA": {}
|
||||
},
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"custom.disabledCapabilities": {
|
||||
"disabledCapabilities": {
|
||||
"value": [
|
||||
"custom.steamClosetWrinklePrevent",
|
||||
"custom.veryFineDustFilter",
|
||||
"demandResponseLoadControl",
|
||||
"sec.wifiConfiguration",
|
||||
"samsungce.quickControl",
|
||||
"samsungce.deviceInfoPrivate"
|
||||
],
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"samsungce.driverVersion": {
|
||||
"versionNumber": {
|
||||
"value": 24110101,
|
||||
"timestamp": "2024-12-02T07:55:47.237Z"
|
||||
}
|
||||
},
|
||||
"sec.diagnosticsInformation": {
|
||||
"logType": {
|
||||
"value": ["errCode", "dump"],
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"endpoint": {
|
||||
"value": "SSM",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"minVersion": {
|
||||
"value": "1.0",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"signinPermission": {
|
||||
"value": null
|
||||
},
|
||||
"setupId": {
|
||||
"value": "A00",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"protocolType": {
|
||||
"value": "wifi_https",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"tsId": {
|
||||
"value": null
|
||||
},
|
||||
"mnId": {
|
||||
"value": "0AJT",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"dumpType": {
|
||||
"value": "file",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"samsungce.steamClosetKeepFreshMode": {
|
||||
"operatingState": {
|
||||
"value": "ready",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"status": {
|
||||
"value": "off",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"samsungce.kidsLock": {
|
||||
"lockState": {
|
||||
"value": "unlocked",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"demandResponseLoadControl": {
|
||||
"drlcStatus": {
|
||||
"value": null
|
||||
}
|
||||
},
|
||||
"powerConsumptionReport": {
|
||||
"powerConsumption": {
|
||||
"value": {
|
||||
"energy": 207500,
|
||||
"deltaEnergy": 0,
|
||||
"power": 0,
|
||||
"powerEnergy": 0.0,
|
||||
"persistedEnergy": 0,
|
||||
"energySaved": 0,
|
||||
"start": "2025-02-10T22:51:59Z",
|
||||
"end": "2025-02-11T08:21:17Z"
|
||||
},
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"dryerOperatingState": {
|
||||
"completionTime": {
|
||||
"value": "2025-02-11T09:00:17Z",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"machineState": {
|
||||
"value": "stop",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"supportedMachineStates": {
|
||||
"value": ["stop", "run", "pause"],
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"dryerJobState": {
|
||||
"value": "none",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"refresh": {},
|
||||
"samsungce.steamClosetSanitizeMode": {
|
||||
"status": {
|
||||
"value": "off",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"custom.jobBeginningStatus": {
|
||||
"jobBeginningStatus": {
|
||||
"value": null
|
||||
}
|
||||
},
|
||||
"execute": {
|
||||
"data": {
|
||||
"value": {
|
||||
"payload": {
|
||||
"rt": ["x.com.samsung.da.information"],
|
||||
"if": ["oic.if.baseline", "oic.if.a"],
|
||||
"x.com.samsung.da.modelNum": "DA_DF_TP2_20_COMMON|20299141|3801010200151107020100FF00000000",
|
||||
"x.com.samsung.da.description": "DA_DF_TP2_20_COMMON_DF8500A/DC92-02995A_0010",
|
||||
"x.com.samsung.da.serialNum": "1EG158TW400002M",
|
||||
"x.com.samsung.da.otnDUID": "MTCHUODP5V4FA",
|
||||
"x.com.samsung.da.diagProtocolType": "WIFI_HTTPS",
|
||||
"x.com.samsung.da.diagLogType": ["errCode", "dump"],
|
||||
"x.com.samsung.da.diagDumpType": "file",
|
||||
"x.com.samsung.da.diagEndPoint": "SSM",
|
||||
"x.com.samsung.da.diagMnid": "0AJT",
|
||||
"x.com.samsung.da.diagSetupid": "A00",
|
||||
"x.com.samsung.da.diagMinVersion": "1.0",
|
||||
"x.com.samsung.da.items": [
|
||||
{
|
||||
"x.com.samsung.da.id": "0",
|
||||
"x.com.samsung.da.description": "DA_DF_TP2_20_COMMON|20299141|3801010200151107020100FF00000000",
|
||||
"x.com.samsung.da.type": "Software",
|
||||
"x.com.samsung.da.number": "02673A230807(F821)",
|
||||
"x.com.samsung.da.newVersionAvailable": "0"
|
||||
},
|
||||
{
|
||||
"x.com.samsung.da.id": "1",
|
||||
"x.com.samsung.da.description": "Firmware_1_DB_20299141210618090FFFFF202995412203111604FFFF(015E2029914120299541_30000000)(FileDown:0)(Type:0)",
|
||||
"x.com.samsung.da.type": "Firmware",
|
||||
"x.com.samsung.da.number": "21061809,22031116",
|
||||
"x.com.samsung.da.newVersionAvailable": "0"
|
||||
},
|
||||
{
|
||||
"x.com.samsung.da.id": "2",
|
||||
"x.com.samsung.da.description": "Firmware_2_DB_2023564319111852041FFFFFFFFFFFFFFFFFFFFFFFFE(015E20235643FFFFFFFF_30000000)(FileDown:0)(Type:0)",
|
||||
"x.com.samsung.da.type": "Firmware",
|
||||
"x.com.samsung.da.number": "19111852,FFFFFFFF"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"data": {
|
||||
"href": "/information/vs/0"
|
||||
},
|
||||
"timestamp": "2024-03-06T11:24:05.312Z"
|
||||
}
|
||||
},
|
||||
"samsungce.steamClosetDelayEnd": {
|
||||
"remainingTime": {
|
||||
"value": 0,
|
||||
"unit": "min",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"samsungce.steamClosetAutoCycleLink": {
|
||||
"steamClosetAutoCycleLink": {
|
||||
"value": "on",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"sec.wifiConfiguration": {
|
||||
"autoReconnection": {
|
||||
"value": null
|
||||
},
|
||||
"minVersion": {
|
||||
"value": null
|
||||
},
|
||||
"supportedWiFiFreq": {
|
||||
"value": null
|
||||
},
|
||||
"supportedAuthType": {
|
||||
"value": null
|
||||
},
|
||||
"protocolType": {
|
||||
"value": null
|
||||
}
|
||||
},
|
||||
"custom.steamClosetWrinklePrevent": {
|
||||
"steamClosetWrinklePrevent": {
|
||||
"value": "off",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"remoteControlStatus": {
|
||||
"remoteControlEnabled": {
|
||||
"value": "false",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"custom.supportedOptions": {
|
||||
"course": {
|
||||
"value": null
|
||||
},
|
||||
"referenceTable": {
|
||||
"value": {
|
||||
"id": "Table_00"
|
||||
},
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"supportedCourses": {
|
||||
"value": [
|
||||
"22",
|
||||
"23",
|
||||
"32",
|
||||
"09",
|
||||
"12",
|
||||
"0C",
|
||||
"31",
|
||||
"0B",
|
||||
"10",
|
||||
"0A",
|
||||
"14",
|
||||
"13",
|
||||
"16",
|
||||
"24",
|
||||
"25",
|
||||
"2F",
|
||||
"20",
|
||||
"0F",
|
||||
"27",
|
||||
"30",
|
||||
"15",
|
||||
"1A",
|
||||
"1B",
|
||||
"1C",
|
||||
"2D",
|
||||
"07",
|
||||
"08"
|
||||
],
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
}
|
||||
},
|
||||
"custom.steamClosetOperatingState": {
|
||||
"supportedSteamClosetJobState": {
|
||||
"value": ["none", "steaming", "airwashing", "drying", "finish"],
|
||||
"timestamp": "2025-02-09T22:16:19.221Z"
|
||||
},
|
||||
"completionTime": {
|
||||
"value": "2025-02-11T09:00:17Z",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"steamClosetMachineState": {
|
||||
"value": "stop",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"supportedSteamClosetMachineState": {
|
||||
"value": ["stop", "run", "pause"],
|
||||
"timestamp": "2023-06-23T16:00:41.238Z"
|
||||
},
|
||||
"steamClosetJobState": {
|
||||
"value": "none",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"progress": {
|
||||
"value": 1,
|
||||
"unit": "%",
|
||||
"timestamp": "2025-02-10T22:53:25.928Z"
|
||||
},
|
||||
"remainingTimeStr": {
|
||||
"value": "00:39",
|
||||
"timestamp": "2025-02-10T22:53:25.928Z"
|
||||
},
|
||||
"steamClosetDelayEndTime": {
|
||||
"value": null
|
||||
},
|
||||
"remainingTime": {
|
||||
"value": 39,
|
||||
"unit": "min",
|
||||
"timestamp": "2025-02-10T22:53:25.928Z"
|
||||
}
|
||||
},
|
||||
"custom.energyType": {
|
||||
"energyType": {
|
||||
"value": "2.0",
|
||||
"timestamp": "2024-03-06T11:24:06.106Z"
|
||||
},
|
||||
"energySavingSupport": {
|
||||
"value": false,
|
||||
"timestamp": "2024-03-06T11:24:06.106Z"
|
||||
},
|
||||
"drMaxDuration": {
|
||||
"value": null
|
||||
},
|
||||
"energySavingLevel": {
|
||||
"value": null
|
||||
},
|
||||
"energySavingInfo": {
|
||||
"value": null
|
||||
},
|
||||
"supportedEnergySavingLevels": {
|
||||
"value": null
|
||||
},
|
||||
"energySavingOperation": {
|
||||
"value": null
|
||||
},
|
||||
"notificationTemplateID": {
|
||||
"value": null
|
||||
},
|
||||
"energySavingOperationSupport": {
|
||||
"value": null
|
||||
}
|
||||
},
|
||||
"samsungce.softwareUpdate": {
|
||||
"targetModule": {
|
||||
"value": {},
|
||||
"timestamp": "2025-02-09T17:33:28.019Z"
|
||||
},
|
||||
"otnDUID": {
|
||||
"value": "MTCHUODP5V4FA",
|
||||
"timestamp": "2025-02-11T08:21:17.534Z"
|
||||
},
|
||||
"lastUpdatedDate": {
|
||||
"value": null
|
||||
},
|
||||
"availableModules": {
|
||||
"value": [],
|
||||
"timestamp": "2023-06-23T16:00:41.636Z"
|
||||
},
|
||||
"newVersionAvailable": {
|
||||
"value": false,
|
||||
"timestamp": "2025-02-09T17:33:28.019Z"
|
||||
},
|
||||
"operatingState": {
|
||||
"value": null
|
||||
},
|
||||
"progress": {
|
||||
"value": null
|
||||
}
|
||||
},
|
||||
"custom.veryFineDustFilter": {
|
||||
"veryFineDustFilterStatus": {
|
||||
"value": null
|
||||
},
|
||||
"veryFineDustFilterResetType": {
|
||||
"value": null
|
||||
},
|
||||
"veryFineDustFilterUsage": {
|
||||
"value": null
|
||||
},
|
||||
"veryFineDustFilterLastResetDate": {
|
||||
"value": null
|
||||
},
|
||||
"veryFineDustFilterUsageStep": {
|
||||
"value": null
|
||||
},
|
||||
"veryFineDustFilterCapacity": {
|
||||
"value": null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,172 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"deviceId": "b93211bf-9d96-bd21-3b2f-964fcc87f5cc",
|
||||
"name": "[airdresser] Samsung",
|
||||
"label": "AirDresser",
|
||||
"manufacturerName": "Samsung Electronics",
|
||||
"presentationId": "DA-WM-SC-000001",
|
||||
"deviceManufacturerCode": "Samsung Electronics",
|
||||
"locationId": "df59873c-4e2c-43ba-bcd4-ade4efb0504a",
|
||||
"ownerId": "71254e90-c144-45b6-aabe-709f78f48376",
|
||||
"roomId": "4c9052ba-4430-4cb1-a788-f1e4449c43c9",
|
||||
"deviceTypeName": "Samsung OCF Steam Closet",
|
||||
"components": [
|
||||
{
|
||||
"id": "main",
|
||||
"label": "main",
|
||||
"capabilities": [
|
||||
{
|
||||
"id": "ocf",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "execute",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "refresh",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "switch",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "remoteControlStatus",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "dryerOperatingState",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "demandResponseLoadControl",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "powerConsumptionReport",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "custom.steamClosetOperatingState",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "custom.disabledCapabilities",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "custom.energyType",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "custom.steamClosetWrinklePrevent",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "custom.jobBeginningStatus",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "custom.supportedOptions",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "custom.veryFineDustFilter",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.deviceIdentification",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.driverVersion",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.softwareUpdate",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.steamClosetDelayEnd",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.steamClosetKeepFreshMode",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.steamClosetSanitizeMode",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.steamClosetAutoCycleLink",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.steamClosetCycle",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.steamClosetCyclePreset",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.kidsLock",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.welcomeMessage",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungce.quickControl",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "sec.diagnosticsInformation",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "sec.wifiConfiguration",
|
||||
"version": 1
|
||||
}
|
||||
],
|
||||
"categories": [
|
||||
{
|
||||
"name": "ClothingCareMachine",
|
||||
"categoryType": "manufacturer"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"createTime": "2023-06-23T16:00:40.545Z",
|
||||
"profile": {
|
||||
"id": "a3623498-4747-3761-bac1-ba13f437d8ea"
|
||||
},
|
||||
"ocf": {
|
||||
"ocfDeviceType": "x.com.st.d.steamcloset",
|
||||
"name": "[airdresser] Samsung",
|
||||
"specVersion": "core.1.1.0",
|
||||
"verticalDomainSpecVersion": "res.1.1.0,sh.1.1.0",
|
||||
"manufacturerName": "Samsung Electronics",
|
||||
"modelNumber": "DA_DF_TP2_20_COMMON|20299141|3801010200151107020100FF00000000",
|
||||
"platformVersion": "DAWIT 2.0",
|
||||
"platformOS": "TizenRT 2.0 + IPv6",
|
||||
"hwVersion": "MediaTek",
|
||||
"firmwareVersion": "DA_DF_TP2_20_COMMON_30230807",
|
||||
"vendorId": "DA-WM-SC-000001",
|
||||
"vendorResourceClientServerVersion": "MediaTek Release 2.211214.1",
|
||||
"lastSignupTime": "2023-06-23T16:00:36.793123Z",
|
||||
"transferCandidate": false,
|
||||
"additionalAuthCodeRequired": false
|
||||
},
|
||||
"type": "OCF",
|
||||
"restrictionTier": 0,
|
||||
"allowed": [],
|
||||
"executionContext": "CLOUD"
|
||||
}
|
||||
],
|
||||
"_links": {}
|
||||
}
|
@ -903,6 +903,148 @@
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][binary_sensor.airdresser_child_lock-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.airdresser_child_lock',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Child lock',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'child_lock',
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_samsungce.kidsLock_lockState_lockState',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][binary_sensor.airdresser_child_lock-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'AirDresser Child lock',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'binary_sensor.airdresser_child_lock',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][binary_sensor.airdresser_power-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.airdresser_power',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <BinarySensorDeviceClass.POWER: 'power'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Power',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_switch_switch_switch',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][binary_sensor.airdresser_power-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'power',
|
||||
'friendly_name': 'AirDresser Power',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'binary_sensor.airdresser_power',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][binary_sensor.airdresser_remote_control-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.airdresser_remote_control',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Remote control',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'remote_control',
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_remoteControlStatus_remoteControlEnabled_remoteControlEnabled',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][binary_sensor.airdresser_remote_control-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'AirDresser Remote control',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'binary_sensor.airdresser_remote_control',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_wd_000001][binary_sensor.dryer_child_lock-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
@ -662,6 +662,39 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_devices[da_wm_sc_000001]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': 'https://account.smartthings.com',
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': 'MediaTek',
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'smartthings',
|
||||
'b93211bf-9d96-bd21-3b2f-964fcc87f5cc',
|
||||
),
|
||||
}),
|
||||
'is_new': False,
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Samsung Electronics',
|
||||
'model': 'DA_DF_TP2_20_COMMON',
|
||||
'model_id': None,
|
||||
'name': 'AirDresser',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'suggested_area': None,
|
||||
'sw_version': 'DA_DF_TP2_20_COMMON_30230807',
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_devices[da_wm_wd_000001]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': 'theater',
|
||||
|
@ -57,6 +57,64 @@
|
||||
'state': 'stop',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][select.airdresser-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'options': list([
|
||||
'stop',
|
||||
'run',
|
||||
'pause',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'select',
|
||||
'entity_category': None,
|
||||
'entity_id': 'select.airdresser',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': None,
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'operating_state',
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_dryerOperatingState_machineState_machineState',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][select.airdresser-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'AirDresser',
|
||||
'options': list([
|
||||
'stop',
|
||||
'run',
|
||||
'pause',
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'select.airdresser',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'stop',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_wd_000001][select.dryer-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
@ -4703,6 +4703,473 @@
|
||||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_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.airdresser_completion_time',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.TIMESTAMP: 'timestamp'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Completion time',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'completion_time',
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_dryerOperatingState_completionTime_completionTime',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_completion_time-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'timestamp',
|
||||
'friendly_name': 'AirDresser Completion time',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.airdresser_completion_time',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '2025-02-11T09:00:17+00:00',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_energy-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'sensor',
|
||||
'entity_category': None,
|
||||
'entity_id': 'sensor.airdresser_energy',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 2,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Energy',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_powerConsumptionReport_powerConsumption_energy_meter',
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_energy-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'AirDresser Energy',
|
||||
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.airdresser_energy',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '207.5',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_energy_difference-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'state_class': <SensorStateClass.TOTAL: 'total'>,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'sensor',
|
||||
'entity_category': None,
|
||||
'entity_id': 'sensor.airdresser_energy_difference',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 2,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Energy difference',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'energy_difference',
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_powerConsumptionReport_powerConsumption_deltaEnergy_meter',
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_energy_difference-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'AirDresser Energy difference',
|
||||
'state_class': <SensorStateClass.TOTAL: 'total'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.airdresser_energy_difference',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_energy_saved-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'sensor',
|
||||
'entity_category': None,
|
||||
'entity_id': 'sensor.airdresser_energy_saved',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 2,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Energy saved',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'energy_saved',
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_powerConsumptionReport_powerConsumption_energySaved_meter',
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_energy_saved-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'AirDresser Energy saved',
|
||||
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.airdresser_energy_saved',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_job_state-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'options': list([
|
||||
'cooling',
|
||||
'delay_wash',
|
||||
'drying',
|
||||
'finished',
|
||||
'none',
|
||||
'refreshing',
|
||||
'weight_sensing',
|
||||
'wrinkle_prevent',
|
||||
'dehumidifying',
|
||||
'ai_drying',
|
||||
'sanitizing',
|
||||
'internal_care',
|
||||
'freeze_protection',
|
||||
'continuous_dehumidifying',
|
||||
'thawing_frozen_inside',
|
||||
]),
|
||||
}),
|
||||
'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.airdresser_job_state',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Job state',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'dryer_job_state',
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_dryerOperatingState_dryerJobState_dryerJobState',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_job_state-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'enum',
|
||||
'friendly_name': 'AirDresser Job state',
|
||||
'options': list([
|
||||
'cooling',
|
||||
'delay_wash',
|
||||
'drying',
|
||||
'finished',
|
||||
'none',
|
||||
'refreshing',
|
||||
'weight_sensing',
|
||||
'wrinkle_prevent',
|
||||
'dehumidifying',
|
||||
'ai_drying',
|
||||
'sanitizing',
|
||||
'internal_care',
|
||||
'freeze_protection',
|
||||
'continuous_dehumidifying',
|
||||
'thawing_frozen_inside',
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.airdresser_job_state',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'none',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_machine_state-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'options': list([
|
||||
'pause',
|
||||
'run',
|
||||
'stop',
|
||||
]),
|
||||
}),
|
||||
'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.airdresser_machine_state',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Machine state',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'dryer_machine_state',
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_dryerOperatingState_machineState_machineState',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_machine_state-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'enum',
|
||||
'friendly_name': 'AirDresser Machine state',
|
||||
'options': list([
|
||||
'pause',
|
||||
'run',
|
||||
'stop',
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.airdresser_machine_state',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'stop',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_power-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.airdresser_power',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 2,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Power',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_powerConsumptionReport_powerConsumption_power_meter',
|
||||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_power-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'power',
|
||||
'friendly_name': 'AirDresser Power',
|
||||
'power_consumption_end': '2025-02-11T08:21:17Z',
|
||||
'power_consumption_start': '2025-02-10T22:51:59Z',
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.airdresser_power',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '0',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_power_energy-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'sensor',
|
||||
'entity_category': None,
|
||||
'entity_id': 'sensor.airdresser_power_energy',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 2,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Power energy',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'power_energy',
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_powerConsumptionReport_powerConsumption_powerEnergy_meter',
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][sensor.airdresser_power_energy-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'AirDresser Power energy',
|
||||
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.airdresser_power_energy',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_wd_000001][sensor.dryer_completion_time-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
@ -281,6 +281,53 @@
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][switch.airdresser-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'switch',
|
||||
'entity_category': None,
|
||||
'entity_id': 'switch.airdresser',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': None,
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_switch_switch_switch',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][switch.airdresser-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'AirDresser',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'switch.airdresser',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_wd_000001][switch.dryer-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
Loading…
x
Reference in New Issue
Block a user