mirror of
https://github.com/home-assistant/core.git
synced 2026-04-17 23:53:49 +01:00
Add Matter fixtures to SmartThings (#165466)
This commit is contained in:
committed by
GitHub
parent
2a2da83173
commit
9c710961f0
@@ -50,6 +50,11 @@ DEVICE_FIXTURES = [
|
||||
"vd_network_audio_003s",
|
||||
"vd_sensor_light_2023",
|
||||
"iphone",
|
||||
"ikea_leak_battery",
|
||||
"ikea_motion_illuminance_battery",
|
||||
"ikea_plug_powermeter",
|
||||
"aeotec_smart_home_hub",
|
||||
"meross_plug",
|
||||
"da_sac_ehs_000001_sub",
|
||||
"da_sac_ehs_000001_sub_1",
|
||||
"da_sac_ehs_000002_sub",
|
||||
|
||||
@@ -0,0 +1,173 @@
|
||||
{
|
||||
"components": {
|
||||
"main": {
|
||||
"wifiInformation": {
|
||||
"supportedWiFiAuthTypes": {
|
||||
"value": ["OPEN", "WEP", "WPA-PSK", "WPA2-PSK", "SAE"],
|
||||
"timestamp": "2026-03-13T00:32:35.516Z"
|
||||
},
|
||||
"ssid": {
|
||||
"value": "Starfleet",
|
||||
"timestamp": "2026-03-13T00:32:35.516Z"
|
||||
},
|
||||
"supportedWiFiFrequencies": {
|
||||
"value": ["2.4G", "5G"],
|
||||
"timestamp": "2026-03-13T00:32:35.554Z"
|
||||
}
|
||||
},
|
||||
"sec.networkConfiguration": {
|
||||
"activatedNetwork": {
|
||||
"value": "wifi",
|
||||
"timestamp": "2026-03-10T12:02:26.682Z"
|
||||
},
|
||||
"supportedNetwork": {
|
||||
"value": ["ethernet", "wifi"],
|
||||
"timestamp": "2026-03-10T12:02:26.678Z"
|
||||
}
|
||||
},
|
||||
"sec.appliedHubGroupMemberState": {
|
||||
"hubGroupId": {
|
||||
"value": "",
|
||||
"timestamp": "2026-03-07T14:36:41.780Z"
|
||||
},
|
||||
"role": {
|
||||
"value": "standalone",
|
||||
"timestamp": "2026-03-07T14:36:41.765Z"
|
||||
},
|
||||
"lastTriggerType": {
|
||||
"value": "unknown",
|
||||
"timestamp": "2026-03-07T14:36:41.778Z"
|
||||
},
|
||||
"primaryZigbeeReachable": {
|
||||
"value": "unknown",
|
||||
"timestamp": "2026-03-07T14:36:41.821Z"
|
||||
},
|
||||
"preferredHubStatus": {
|
||||
"value": "unknown",
|
||||
"timestamp": "2026-03-07T14:36:41.780Z"
|
||||
}
|
||||
},
|
||||
"samsungim.devicestatus": {
|
||||
"status": {
|
||||
"value": {
|
||||
"modelNumber": "IM6001-V4P22",
|
||||
"serialNumber": "4022002360",
|
||||
"wifiMac": "68:3A:48:50:1A:76",
|
||||
"btAddr": "68:3A:48:50:1A:77",
|
||||
"mnId": "0AFD",
|
||||
"setupId": "427",
|
||||
"productionDate": "",
|
||||
"swVer": "000.059.00008",
|
||||
"hwVer": "Test",
|
||||
"mnmo": "hubv4-EU"
|
||||
},
|
||||
"timestamp": "2026-03-07T14:36:40.709Z"
|
||||
}
|
||||
},
|
||||
"sec.diagnosticsInformation": {
|
||||
"logType": {
|
||||
"value": ["errCode", "dump"],
|
||||
"timestamp": "2026-03-07T14:36:40.728Z"
|
||||
},
|
||||
"endpoint": {
|
||||
"value": "PIPER",
|
||||
"timestamp": "2026-03-07T14:36:40.729Z"
|
||||
},
|
||||
"minVersion": {
|
||||
"value": "5.0",
|
||||
"timestamp": "2026-03-07T14:36:40.717Z"
|
||||
},
|
||||
"signinPermission": {
|
||||
"value": null
|
||||
},
|
||||
"setupId": {
|
||||
"value": "427",
|
||||
"timestamp": "2026-03-07T14:36:40.716Z"
|
||||
},
|
||||
"protocolType": {
|
||||
"value": "ble_stdk_hub",
|
||||
"timestamp": "2026-03-07T14:36:40.730Z"
|
||||
},
|
||||
"tsId": {
|
||||
"value": "MX01",
|
||||
"timestamp": "2026-03-07T14:36:40.716Z"
|
||||
},
|
||||
"mnId": {
|
||||
"value": "0AFD",
|
||||
"timestamp": "2026-03-07T14:36:40.716Z"
|
||||
},
|
||||
"dumpType": {
|
||||
"value": "file",
|
||||
"timestamp": "2026-03-07T14:36:40.728Z"
|
||||
}
|
||||
},
|
||||
"bridge": {},
|
||||
"firmwareUpdate": {
|
||||
"lastUpdateStatusReason": {
|
||||
"value": null
|
||||
},
|
||||
"imageTransferProgress": {
|
||||
"value": 0,
|
||||
"unit": "%",
|
||||
"timestamp": "2026-01-12T00:05:00.078Z"
|
||||
},
|
||||
"availableVersion": {
|
||||
"value": "hubv4@3.39.8-0-g342d3657",
|
||||
"timestamp": "2026-01-11T16:04:42.983Z"
|
||||
},
|
||||
"lastUpdateStatus": {
|
||||
"value": "updateSucceeded",
|
||||
"timestamp": "2026-01-12T00:05:00.049Z"
|
||||
},
|
||||
"supportedCommands": {
|
||||
"value": null
|
||||
},
|
||||
"state": {
|
||||
"value": "normalOperation",
|
||||
"timestamp": "2026-03-07T14:36:40.714Z"
|
||||
},
|
||||
"estimatedTimeRemaining": {
|
||||
"value": 0,
|
||||
"timestamp": "2026-01-12T00:05:00.062Z"
|
||||
},
|
||||
"updateAvailable": {
|
||||
"value": false,
|
||||
"timestamp": "2026-01-12T00:05:00.040Z"
|
||||
},
|
||||
"currentVersion": {
|
||||
"value": "hubv4@3.39.8-0-g342d3657",
|
||||
"timestamp": "2026-01-11T16:12:51.552Z"
|
||||
},
|
||||
"lastUpdateTime": {
|
||||
"value": null
|
||||
},
|
||||
"supportsProgressReports": {
|
||||
"value": false,
|
||||
"timestamp": "2026-01-12T00:05:00.046Z"
|
||||
}
|
||||
},
|
||||
"sec.wifiConfiguration": {
|
||||
"autoReconnection": {
|
||||
"value": true,
|
||||
"timestamp": "2026-03-07T14:36:40.732Z"
|
||||
},
|
||||
"minVersion": {
|
||||
"value": "1.0",
|
||||
"timestamp": "2026-03-07T14:36:40.730Z"
|
||||
},
|
||||
"supportedWiFiFreq": {
|
||||
"value": ["2.4G", "5G"],
|
||||
"timestamp": "2026-03-07T14:36:40.783Z"
|
||||
},
|
||||
"supportedAuthType": {
|
||||
"value": ["OPEN", "WEP", "WPA-PSK", "WPA2-PSK", "SAE"],
|
||||
"timestamp": "2026-03-07T14:36:40.816Z"
|
||||
},
|
||||
"protocolType": {
|
||||
"value": ["ble_stdk_hub"],
|
||||
"timestamp": "2026-03-07T14:36:40.816Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"components": {
|
||||
"main": {
|
||||
"waterSensor": {
|
||||
"water": {
|
||||
"value": "dry",
|
||||
"timestamp": "2026-03-12T17:12:40.554Z"
|
||||
}
|
||||
},
|
||||
"refresh": {},
|
||||
"battery": {
|
||||
"quantity": {
|
||||
"value": null
|
||||
},
|
||||
"battery": {
|
||||
"value": 100,
|
||||
"unit": "%",
|
||||
"timestamp": "2026-03-07T14:37:09.813Z"
|
||||
},
|
||||
"type": {
|
||||
"value": null
|
||||
}
|
||||
},
|
||||
"firmwareUpdate": {
|
||||
"lastUpdateStatusReason": {
|
||||
"value": null
|
||||
},
|
||||
"imageTransferProgress": {
|
||||
"value": null
|
||||
},
|
||||
"availableVersion": {
|
||||
"value": "1.0.11 (16777227)",
|
||||
"timestamp": "2026-03-02T14:59:51.992Z"
|
||||
},
|
||||
"lastUpdateStatus": {
|
||||
"value": "updateSucceeded",
|
||||
"timestamp": "2026-03-02T15:06:29.116Z"
|
||||
},
|
||||
"supportedCommands": {
|
||||
"value": null
|
||||
},
|
||||
"state": {
|
||||
"value": "normalOperation",
|
||||
"timestamp": "2026-03-02T15:06:29.154Z"
|
||||
},
|
||||
"estimatedTimeRemaining": {
|
||||
"value": null
|
||||
},
|
||||
"updateAvailable": {
|
||||
"value": false,
|
||||
"timestamp": "2026-03-02T15:06:35.716Z"
|
||||
},
|
||||
"currentVersion": {
|
||||
"value": "1.0.11 (16777227)",
|
||||
"timestamp": "2026-03-02T15:06:35.745Z"
|
||||
},
|
||||
"lastUpdateTime": {
|
||||
"value": "2026-03-02T15:06:28Z",
|
||||
"timestamp": "2026-03-02T15:06:29.153Z"
|
||||
},
|
||||
"supportsProgressReports": {
|
||||
"value": null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"components": {
|
||||
"main": {
|
||||
"refresh": {},
|
||||
"motionSensor": {
|
||||
"motion": {
|
||||
"value": "inactive",
|
||||
"timestamp": "2026-03-13T14:37:59.536Z"
|
||||
}
|
||||
},
|
||||
"illuminanceMeasurement": {
|
||||
"illuminance": {
|
||||
"value": 16,
|
||||
"unit": "lux",
|
||||
"timestamp": "2026-03-13T14:48:36.080Z"
|
||||
}
|
||||
},
|
||||
"battery": {
|
||||
"quantity": {
|
||||
"value": null
|
||||
},
|
||||
"battery": {
|
||||
"value": 100,
|
||||
"unit": "%",
|
||||
"timestamp": "2026-03-13T01:26:14.860Z"
|
||||
},
|
||||
"type": {
|
||||
"value": null
|
||||
}
|
||||
},
|
||||
"firmwareUpdate": {
|
||||
"lastUpdateStatusReason": {
|
||||
"value": null
|
||||
},
|
||||
"imageTransferProgress": {
|
||||
"value": null
|
||||
},
|
||||
"availableVersion": {
|
||||
"value": "1.0.7 (16777223)",
|
||||
"timestamp": "2026-03-02T17:05:13.014Z"
|
||||
},
|
||||
"lastUpdateStatus": {
|
||||
"value": null
|
||||
},
|
||||
"supportedCommands": {
|
||||
"value": null
|
||||
},
|
||||
"state": {
|
||||
"value": "normalOperation",
|
||||
"timestamp": "2026-03-02T17:05:13.011Z"
|
||||
},
|
||||
"estimatedTimeRemaining": {
|
||||
"value": null
|
||||
},
|
||||
"updateAvailable": {
|
||||
"value": false,
|
||||
"timestamp": "2026-03-02T17:05:12.989Z"
|
||||
},
|
||||
"currentVersion": {
|
||||
"value": "1.0.7 (16777223)",
|
||||
"timestamp": "2026-03-02T17:05:13.013Z"
|
||||
},
|
||||
"lastUpdateTime": {
|
||||
"value": null
|
||||
},
|
||||
"supportsProgressReports": {
|
||||
"value": null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"components": {
|
||||
"main": {
|
||||
"powerMeter": {
|
||||
"power": {
|
||||
"value": 0.0,
|
||||
"unit": "W",
|
||||
"timestamp": "2026-03-13T13:31:38.582Z"
|
||||
}
|
||||
},
|
||||
"energyMeter": {
|
||||
"energy": {
|
||||
"value": 0.004,
|
||||
"unit": "kWh",
|
||||
"timestamp": "2026-03-13T12:47:52.080Z"
|
||||
}
|
||||
},
|
||||
"switchLevel": {
|
||||
"levelRange": {
|
||||
"value": null
|
||||
},
|
||||
"level": {
|
||||
"value": 40,
|
||||
"unit": "%",
|
||||
"timestamp": "2026-03-13T12:55:19.975Z"
|
||||
}
|
||||
},
|
||||
"refresh": {},
|
||||
"firmwareUpdate": {
|
||||
"lastUpdateStatusReason": {
|
||||
"value": null
|
||||
},
|
||||
"imageTransferProgress": {
|
||||
"value": null
|
||||
},
|
||||
"availableVersion": {
|
||||
"value": "02040045",
|
||||
"timestamp": "2026-03-12T15:59:40.750Z"
|
||||
},
|
||||
"lastUpdateStatus": {
|
||||
"value": null
|
||||
},
|
||||
"supportedCommands": {
|
||||
"value": null
|
||||
},
|
||||
"state": {
|
||||
"value": "normalOperation",
|
||||
"timestamp": "2026-03-12T15:59:40.752Z"
|
||||
},
|
||||
"estimatedTimeRemaining": {
|
||||
"value": null
|
||||
},
|
||||
"updateAvailable": {
|
||||
"value": false,
|
||||
"timestamp": "2026-03-12T15:59:40.752Z"
|
||||
},
|
||||
"currentVersion": {
|
||||
"value": "02040045",
|
||||
"timestamp": "2026-03-12T15:59:40.693Z"
|
||||
},
|
||||
"lastUpdateTime": {
|
||||
"value": null
|
||||
},
|
||||
"supportsProgressReports": {
|
||||
"value": null
|
||||
}
|
||||
},
|
||||
"switch": {
|
||||
"switch": {
|
||||
"value": "on",
|
||||
"timestamp": "2026-03-13T13:02:25.180Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"components": {
|
||||
"main": {
|
||||
"powerMeter": {
|
||||
"power": {
|
||||
"value": 0.0,
|
||||
"unit": "W",
|
||||
"timestamp": "2026-03-13T12:10:35.558Z"
|
||||
}
|
||||
},
|
||||
"powerConsumptionReport": {
|
||||
"powerConsumption": {
|
||||
"value": {
|
||||
"deltaEnergy": 0.0,
|
||||
"end": "2026-03-13T14:44:20Z",
|
||||
"energy": 9233.836,
|
||||
"start": "2026-03-13T14:28:21Z"
|
||||
},
|
||||
"timestamp": "2026-03-13T14:44:21.817Z"
|
||||
}
|
||||
},
|
||||
"energyMeter": {
|
||||
"energy": {
|
||||
"value": 9233.836,
|
||||
"unit": "Wh",
|
||||
"timestamp": "2026-03-13T14:35:25.695Z"
|
||||
}
|
||||
},
|
||||
"refresh": {},
|
||||
"firmwareUpdate": {
|
||||
"lastUpdateStatusReason": {
|
||||
"value": null
|
||||
},
|
||||
"imageTransferProgress": {
|
||||
"value": null
|
||||
},
|
||||
"availableVersion": {
|
||||
"value": "9.3.26 (1)",
|
||||
"timestamp": "2026-03-04T14:22:41.264Z"
|
||||
},
|
||||
"lastUpdateStatus": {
|
||||
"value": null
|
||||
},
|
||||
"supportedCommands": {
|
||||
"value": null
|
||||
},
|
||||
"state": {
|
||||
"value": "normalOperation",
|
||||
"timestamp": "2026-03-04T14:22:41.263Z"
|
||||
},
|
||||
"estimatedTimeRemaining": {
|
||||
"value": null
|
||||
},
|
||||
"updateAvailable": {
|
||||
"value": false,
|
||||
"timestamp": "2026-03-04T14:22:41.244Z"
|
||||
},
|
||||
"currentVersion": {
|
||||
"value": "9.3.26 (1)",
|
||||
"timestamp": "2026-03-04T14:22:41.286Z"
|
||||
},
|
||||
"lastUpdateTime": {
|
||||
"value": null
|
||||
},
|
||||
"supportsProgressReports": {
|
||||
"value": null
|
||||
}
|
||||
},
|
||||
"switch": {
|
||||
"switch": {
|
||||
"value": "on",
|
||||
"timestamp": "2026-03-13T12:10:35.561Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,214 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"deviceId": "8ea8d2a4-4f93-4b49-94b8-c9cafd4ffedb",
|
||||
"name": "SmartThings Hub",
|
||||
"label": "Smart Home Hub",
|
||||
"manufacturerName": "SmartThingsCommunity",
|
||||
"presentationId": "61128df9-aa3e-3d40-9812-66a122b71e1c",
|
||||
"deviceManufacturerCode": "SAMJIN",
|
||||
"locationId": "a123d440-3337-4e3b-8af2-51427b68052f",
|
||||
"ownerId": "a6f94f18-42d6-28c6-57c8-6c77aaf87439",
|
||||
"roomId": "7b29fa2f-60c1-44c2-ad5f-815bd927ac59",
|
||||
"components": [
|
||||
{
|
||||
"id": "main",
|
||||
"label": "main",
|
||||
"capabilities": [
|
||||
{
|
||||
"id": "bridge",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "wifiInformation",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "sec.diagnosticsInformation",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "sec.networkConfiguration",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "firmwareUpdate",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "samsungim.devicestatus",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "sec.wifiConfiguration",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "sec.appliedHubGroupMemberState",
|
||||
"version": 1
|
||||
}
|
||||
],
|
||||
"categories": [
|
||||
{
|
||||
"name": "Hub",
|
||||
"categoryType": "manufacturer"
|
||||
}
|
||||
],
|
||||
"optional": false
|
||||
}
|
||||
],
|
||||
"createTime": "2026-01-11T16:01:24.561Z",
|
||||
"childDevices": [],
|
||||
"profile": {
|
||||
"id": "d237eeea-dc06-3630-8bcc-858b745063c2"
|
||||
},
|
||||
"hub": {
|
||||
"hubEui": "D052A813A0FE0001",
|
||||
"firmwareVersion": "000.059.00008",
|
||||
"hubDrivers": [
|
||||
{
|
||||
"driverVersion": "2025-07-28T20:45:03.83690244",
|
||||
"driverId": "01976eca-e7ff-4d1b-91db-9c980ce668d7",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2025-07-14T18:50:31.774045142",
|
||||
"driverId": "166c1c25-fc5c-4849-8ef9-6e127e72e453",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2024-10-10T18:17:35.032104982",
|
||||
"driverId": "4eb5b19a-7bbc-452f-859b-c6d7d857b2da",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2026-02-23T19:23:10.643933716",
|
||||
"driverId": "5f3c42eb-5704-4c95-9705-c51c1a6764bf",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2026-03-12T16:34:29.714365243",
|
||||
"driverId": "7103039b-68d6-442c-afe5-e1bc955924a9",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2025-02-03T22:38:47.582952919",
|
||||
"driverId": "7beb8bc2-8dfa-45c2-8fdb-7373d4597b12",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2024-10-21T19:06:49.949052991",
|
||||
"driverId": "9050ac53-358c-47a1-a927-9a70f5f28cee",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2024-02-06T21:13:33.383236744",
|
||||
"driverId": "97abb0ff-e81d-48d5-a065-aa350a6c97d0",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2026-02-02T18:35:22.128991992",
|
||||
"driverId": "c21a6c77-872c-474e-be5b-5f6f11a240ef",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2024-01-30T21:36:15.547412569",
|
||||
"driverId": "c856a3fd-69ee-4478-a224-d7279b6d978f",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2026-01-26T23:44:30.725006043",
|
||||
"driverId": "cd898d81-6c27-4d27-a529-dfadc8caae5a",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2025-03-10T21:36:12.512604403",
|
||||
"driverId": "d9c3f8b8-c3c3-4b77-9ddd-01d08102c84b",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2024-10-10T18:17:54.195543653",
|
||||
"driverId": "dbe192cb-f6a1-4369-a843-d1c42e5c91ba",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2026-03-12T16:34:32.146546103",
|
||||
"driverId": "f2e891c6-00cc-446c-9192-8ebda63d9898",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
},
|
||||
{
|
||||
"driverVersion": "2026-03-12T16:34:26.399370992",
|
||||
"driverId": "fba178cd-203e-4b7c-bfa0-d4f07197b527",
|
||||
"channelId": "15ea8adc-8be7-4ea6-8b51-4155f56dc6cf"
|
||||
}
|
||||
],
|
||||
"hubData": {
|
||||
"serialNumber": "4022002360",
|
||||
"zwaveStaticDsk": "00000-00000-00000-00000-00000-00000-00000-00000",
|
||||
"zwaveS2": false,
|
||||
"hardwareType": "V4_HUB",
|
||||
"hardwareId": "004C",
|
||||
"zigbeeFirmware": "6.2.5",
|
||||
"zigbee3": true,
|
||||
"zigbeeOta": "ENABLED",
|
||||
"otaEnable": "true",
|
||||
"zigbeeUnsecureRejoin": false,
|
||||
"zigbeeRequiresExternalHardware": false,
|
||||
"threadRequiresExternalHardware": false,
|
||||
"failoverAvailability": "Available",
|
||||
"primarySupportAvailability": "Available",
|
||||
"secondarySupportAvailability": "Available",
|
||||
"zigbeeAvailability": "Available",
|
||||
"zwaveAvailability": "Unsupported",
|
||||
"threadAvailability": "Available",
|
||||
"lanAvailability": "Available",
|
||||
"matterAvailability": "Available",
|
||||
"localVirtualDeviceAvailability": "Available",
|
||||
"childDeviceAvailability": "Unsupported",
|
||||
"edgeDriversAvailability": "Available",
|
||||
"hubReplaceAvailability": "Available",
|
||||
"hubLocalApiAvailability": "Available",
|
||||
"edgeDriverSupportedEndpointApps": {
|
||||
"apps": [
|
||||
{
|
||||
"appName": "viper_12edd070-1b34-11f0-b145-1b5424e72149",
|
||||
"version": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"zigbeeManualFirmwareUpdateSupported": true,
|
||||
"matterRendezvousHedgeSupported": true,
|
||||
"matterSoftwareComponentVersion": "1.5-0",
|
||||
"matterDeviceDiagnosticsAvailability": "Available",
|
||||
"zigbeeDeviceDiagnosticsAvailability": "Available",
|
||||
"hedgeTlsCertificate": "-----BEGIN CERTIFICATE----- REMOVED -----END CERTIFICATE-----\n",
|
||||
"zigbeeChannel": "19",
|
||||
"zigbeePanId": "57E1",
|
||||
"zigbeeEui": "286D9700020C9DCE",
|
||||
"zigbeeNodeID": "0000",
|
||||
"zwaveNodeID": "00",
|
||||
"zwaveHomeID": "00000000",
|
||||
"zwaveSucID": "00",
|
||||
"zwaveVersion": "0000",
|
||||
"zwaveRegion": "0",
|
||||
"macAddress": "68:3A:48:50:1A:75",
|
||||
"localIP": "192.168.1.15",
|
||||
"wifiSsid": "Starfleet",
|
||||
"zigbeeRadioFunctional": true,
|
||||
"zwaveRadioFunctional": false,
|
||||
"zigbeeRadioEnabled": true,
|
||||
"zwaveRadioEnabled": false,
|
||||
"zigbeeRadioDetected": true,
|
||||
"zwaveRadioDetected": false,
|
||||
"enrollmentChannel": "PUBLIC"
|
||||
}
|
||||
},
|
||||
"type": "HUB",
|
||||
"restrictionTier": 0,
|
||||
"allowed": null,
|
||||
"executionContext": "CLOUD",
|
||||
"relationships": []
|
||||
}
|
||||
],
|
||||
"_links": {}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"deviceId": "4496dbbd-db7b-4b72-89a8-208ed9482832",
|
||||
"name": "leak-battery",
|
||||
"label": "Waschkeller Feuchtigkeitssensor",
|
||||
"manufacturerName": "SmartThingsCommunity",
|
||||
"presentationId": "759cccc4-5559-3718-9387-e73fa9f28bc0",
|
||||
"deviceManufacturerCode": "IKEA of Sweden",
|
||||
"locationId": "a123d440-3337-4e3b-8af2-51427b68052f",
|
||||
"ownerId": "a6f94f18-42d6-28c6-57c8-6c77aaf87439",
|
||||
"roomId": "5dc4bad8-175a-4510-96a9-4b8871581be1",
|
||||
"productId": "4396a64a-d55f-4c14-8c57-c630a1b24455",
|
||||
"brandId": "964722e3-7d62-3e0b-a84b-31a134874f20",
|
||||
"components": [
|
||||
{
|
||||
"id": "main",
|
||||
"label": "main",
|
||||
"capabilities": [
|
||||
{
|
||||
"id": "waterSensor",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "battery",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "firmwareUpdate",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "refresh",
|
||||
"version": 1
|
||||
}
|
||||
],
|
||||
"categories": [
|
||||
{
|
||||
"name": "LeakSensor",
|
||||
"categoryType": "manufacturer"
|
||||
}
|
||||
],
|
||||
"optional": false
|
||||
}
|
||||
],
|
||||
"createTime": "2026-03-02T14:59:51.087Z",
|
||||
"parentDeviceId": "8ea8d2a4-4f93-4b49-94b8-c9cafd4ffedb",
|
||||
"profile": {
|
||||
"id": "eeceec3b-97cf-38ba-9484-f66ed545c5c3"
|
||||
},
|
||||
"matter": {
|
||||
"driverId": "fba178cd-203e-4b7c-bfa0-d4f07197b527",
|
||||
"hubId": "8ea8d2a4-4f93-4b49-94b8-c9cafd4ffedb",
|
||||
"provisioningState": "PROVISIONED",
|
||||
"networkId": "F050C5A30C6BE3F6-7D3EB8FD67F6C13E",
|
||||
"executingLocally": true,
|
||||
"uniqueId": "38bac94196d198e0085823ef7fd2bf38",
|
||||
"vendorId": 4476,
|
||||
"productId": 32774,
|
||||
"listeningType": "SLEEPY",
|
||||
"supportedNetworkInterfaces": ["THREAD"],
|
||||
"version": {
|
||||
"hardware": 512,
|
||||
"hardwareLabel": "P2.0",
|
||||
"software": 16777227,
|
||||
"softwareLabel": "1.0.11"
|
||||
},
|
||||
"endpoints": [
|
||||
{
|
||||
"endpointId": 0,
|
||||
"deviceTypes": [
|
||||
{
|
||||
"deviceTypeId": 18
|
||||
},
|
||||
{
|
||||
"deviceTypeId": 17
|
||||
},
|
||||
{
|
||||
"deviceTypeId": 22
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"endpointId": 1,
|
||||
"deviceTypes": [
|
||||
{
|
||||
"deviceTypeId": 67
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"syncDrivers": true,
|
||||
"fingerprintType": "MATTER_MANUFACTURER",
|
||||
"fingerprintId": "4476/32774"
|
||||
},
|
||||
"type": "MATTER",
|
||||
"restrictionTier": 0,
|
||||
"allowed": null,
|
||||
"executionContext": "LOCAL",
|
||||
"relationships": []
|
||||
}
|
||||
],
|
||||
"_links": {}
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"deviceId": "6f730725-d8c9-4d06-bac6-7dd96a3c75d8",
|
||||
"name": "motion-illuminance-battery",
|
||||
"label": "Gaderobe Bewegungsmelder",
|
||||
"manufacturerName": "SmartThingsCommunity",
|
||||
"presentationId": "4e156032-305c-3f76-9016-9255f572067e",
|
||||
"deviceManufacturerCode": "IKEA of Sweden",
|
||||
"locationId": "a123d440-3337-4e3b-8af2-51427b68052f",
|
||||
"ownerId": "a6f94f18-42d6-28c6-57c8-6c77aaf87439",
|
||||
"roomId": "f8446c7b-55cc-4a39-93be-02573e92bc75",
|
||||
"productId": "4ba2b234-76b2-4a36-af07-bcf33042f0b7",
|
||||
"brandId": "964722e3-7d62-3e0b-a84b-31a134874f20",
|
||||
"components": [
|
||||
{
|
||||
"id": "main",
|
||||
"label": "main",
|
||||
"capabilities": [
|
||||
{
|
||||
"id": "motionSensor",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "illuminanceMeasurement",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "battery",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "firmwareUpdate",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "refresh",
|
||||
"version": 1
|
||||
}
|
||||
],
|
||||
"categories": [
|
||||
{
|
||||
"name": "MotionSensor",
|
||||
"categoryType": "manufacturer"
|
||||
}
|
||||
],
|
||||
"optional": false
|
||||
}
|
||||
],
|
||||
"createTime": "2026-03-02T17:05:12.285Z",
|
||||
"parentDeviceId": "8ea8d2a4-4f93-4b49-94b8-c9cafd4ffedb",
|
||||
"profile": {
|
||||
"id": "138c1c12-2a2e-310c-904d-fee23ec6dd58"
|
||||
},
|
||||
"matter": {
|
||||
"driverId": "fba178cd-203e-4b7c-bfa0-d4f07197b527",
|
||||
"hubId": "8ea8d2a4-4f93-4b49-94b8-c9cafd4ffedb",
|
||||
"provisioningState": "PROVISIONED",
|
||||
"networkId": "F050C5A30C6BE3F6-912EFFB7CB6FE167",
|
||||
"executingLocally": true,
|
||||
"uniqueId": "8F3E199D98D6CD7A",
|
||||
"vendorId": 4476,
|
||||
"productId": 12288,
|
||||
"listeningType": "SLEEPY",
|
||||
"supportedNetworkInterfaces": ["THREAD"],
|
||||
"version": {
|
||||
"hardware": 512,
|
||||
"hardwareLabel": "P2.0",
|
||||
"software": 16777223,
|
||||
"softwareLabel": "1.0.7"
|
||||
},
|
||||
"endpoints": [
|
||||
{
|
||||
"endpointId": 0,
|
||||
"deviceTypes": [
|
||||
{
|
||||
"deviceTypeId": 18
|
||||
},
|
||||
{
|
||||
"deviceTypeId": 17
|
||||
},
|
||||
{
|
||||
"deviceTypeId": 22
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"endpointId": 1,
|
||||
"deviceTypes": [
|
||||
{
|
||||
"deviceTypeId": 262
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"endpointId": 2,
|
||||
"deviceTypes": [
|
||||
{
|
||||
"deviceTypeId": 263
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"syncDrivers": true,
|
||||
"fingerprintType": "MATTER_MANUFACTURER",
|
||||
"fingerprintId": "4476/12288"
|
||||
},
|
||||
"type": "MATTER",
|
||||
"restrictionTier": 0,
|
||||
"allowed": null,
|
||||
"executionContext": "LOCAL",
|
||||
"relationships": []
|
||||
}
|
||||
],
|
||||
"_links": {}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"deviceId": "9be7ea22-975e-41f0-bc3c-e811a6fb1289",
|
||||
"name": "switch-dimmer-power-energy",
|
||||
"label": "IKEA Plug Powermeter",
|
||||
"manufacturerName": "SmartThingsCommunity",
|
||||
"presentationId": "56731898-55b7-3d41-87cc-460f044d4f7c",
|
||||
"deviceManufacturerCode": "IKEA of Sweden",
|
||||
"locationId": "a123d440-3337-4e3b-8af2-51427b68052f",
|
||||
"ownerId": "a6f94f18-42d6-28c6-57c8-6c77aaf87439",
|
||||
"roomId": "7b29fa2f-60c1-44c2-ad5f-815bd927ac59",
|
||||
"components": [
|
||||
{
|
||||
"id": "main",
|
||||
"label": "main",
|
||||
"capabilities": [
|
||||
{
|
||||
"id": "switch",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "switchLevel",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "powerMeter",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "energyMeter",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "firmwareUpdate",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "refresh",
|
||||
"version": 1
|
||||
}
|
||||
],
|
||||
"categories": [
|
||||
{
|
||||
"name": "Switch",
|
||||
"categoryType": "manufacturer"
|
||||
}
|
||||
],
|
||||
"optional": false
|
||||
}
|
||||
],
|
||||
"createTime": "2026-03-12T15:59:36.448Z",
|
||||
"parentDeviceId": "8ea8d2a4-4f93-4b49-94b8-c9cafd4ffedb",
|
||||
"profile": {
|
||||
"id": "bdfa8010-e4a2-397d-980e-022639ee3b6b"
|
||||
},
|
||||
"zigbee": {
|
||||
"eui": "983268FFFE382CFB",
|
||||
"networkId": "8B4E",
|
||||
"driverId": "f2e891c6-00cc-446c-9192-8ebda63d9898",
|
||||
"executingLocally": true,
|
||||
"hubId": "8ea8d2a4-4f93-4b49-94b8-c9cafd4ffedb",
|
||||
"provisioningState": "PROVISIONED",
|
||||
"fingerprintType": "ZIGBEE_GENERIC",
|
||||
"fingerprintId": "genericMeteredDimmer"
|
||||
},
|
||||
"type": "ZIGBEE",
|
||||
"restrictionTier": 0,
|
||||
"allowed": null,
|
||||
"executionContext": "LOCAL",
|
||||
"relationships": []
|
||||
}
|
||||
],
|
||||
"_links": {}
|
||||
}
|
||||
115
tests/components/smartthings/fixtures/devices/meross_plug.json
Normal file
115
tests/components/smartthings/fixtures/devices/meross_plug.json
Normal file
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"deviceId": "e95e4c85-4f9e-4961-9656-4632821ce8c6",
|
||||
"name": "plug-power-energy-powerConsumption",
|
||||
"label": "Waschkeller Trockner Plug",
|
||||
"manufacturerName": "SmartThingsCommunity",
|
||||
"presentationId": "8e18bf57-509c-38b4-af7f-871dd01bbb01",
|
||||
"deviceManufacturerCode": "Meross",
|
||||
"locationId": "a123d440-3337-4e3b-8af2-51427b68052f",
|
||||
"ownerId": "a6f94f18-42d6-28c6-57c8-6c77aaf87439",
|
||||
"roomId": "5dc4bad8-175a-4510-96a9-4b8871581be1",
|
||||
"productId": "bb36645a-c493-411f-b5df-cf49586d8e8d",
|
||||
"brandId": "305129c1-62e6-3208-a460-56d1fab20834",
|
||||
"components": [
|
||||
{
|
||||
"id": "main",
|
||||
"label": "main",
|
||||
"capabilities": [
|
||||
{
|
||||
"id": "switch",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "powerMeter",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "energyMeter",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "powerConsumptionReport",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "firmwareUpdate",
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
"id": "refresh",
|
||||
"version": 1
|
||||
}
|
||||
],
|
||||
"categories": [
|
||||
{
|
||||
"name": "SmartPlug",
|
||||
"categoryType": "manufacturer"
|
||||
}
|
||||
],
|
||||
"optional": false
|
||||
}
|
||||
],
|
||||
"createTime": "2026-03-04T14:22:40.328Z",
|
||||
"parentDeviceId": "8ea8d2a4-4f93-4b49-94b8-c9cafd4ffedb",
|
||||
"profile": {
|
||||
"id": "6d166eee-a675-3029-a122-db310d109376"
|
||||
},
|
||||
"matter": {
|
||||
"driverId": "7103039b-68d6-442c-afe5-e1bc955924a9",
|
||||
"hubId": "8ea8d2a4-4f93-4b49-94b8-c9cafd4ffedb",
|
||||
"provisioningState": "PROVISIONED",
|
||||
"networkId": "F050C5A30C6BE3F6-ABABE7441F8C8235",
|
||||
"executingLocally": true,
|
||||
"uniqueId": "3378B09C94A77649",
|
||||
"vendorId": 4933,
|
||||
"productId": 40962,
|
||||
"serialNumber": "510802250905784",
|
||||
"listeningType": "ALWAYS",
|
||||
"supportedNetworkInterfaces": ["WIFI"],
|
||||
"version": {
|
||||
"hardware": 0,
|
||||
"hardwareLabel": "9.0",
|
||||
"software": 1,
|
||||
"softwareLabel": "9.3.26"
|
||||
},
|
||||
"endpoints": [
|
||||
{
|
||||
"endpointId": 0,
|
||||
"deviceTypes": [
|
||||
{
|
||||
"deviceTypeId": 22
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"endpointId": 1,
|
||||
"deviceTypes": [
|
||||
{
|
||||
"deviceTypeId": 266
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"endpointId": 2,
|
||||
"deviceTypes": [
|
||||
{
|
||||
"deviceTypeId": 1296
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"syncDrivers": true,
|
||||
"fingerprintType": "MATTER_GENERIC",
|
||||
"fingerprintId": "matter/on-off/plug/electrical-sensor"
|
||||
},
|
||||
"type": "MATTER",
|
||||
"restrictionTier": 0,
|
||||
"allowed": null,
|
||||
"executionContext": "LOCAL",
|
||||
"relationships": []
|
||||
}
|
||||
],
|
||||
"_links": {}
|
||||
}
|
||||
@@ -3810,6 +3810,106 @@
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_leak_battery][binary_sensor.waschkeller_feuchtigkeitssensor_moisture-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.waschkeller_feuchtigkeitssensor_moisture',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Moisture',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <BinarySensorDeviceClass.MOISTURE: 'moisture'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Moisture',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '4496dbbd-db7b-4b72-89a8-208ed9482832_main_waterSensor_water_water',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_leak_battery][binary_sensor.waschkeller_feuchtigkeitssensor_moisture-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'moisture',
|
||||
'friendly_name': 'Waschkeller Feuchtigkeitssensor Moisture',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'binary_sensor.waschkeller_feuchtigkeitssensor_moisture',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_motion_illuminance_battery][binary_sensor.gaderobe_bewegungsmelder_motion-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.gaderobe_bewegungsmelder_motion',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Motion',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <BinarySensorDeviceClass.MOTION: 'motion'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Motion',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '6f730725-d8c9-4d06-bac6-7dd96a3c75d8_main_motionSensor_motion_motion',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_motion_illuminance_battery][binary_sensor.gaderobe_bewegungsmelder_motion-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'motion',
|
||||
'friendly_name': 'Gaderobe Bewegungsmelder Motion',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'binary_sensor.gaderobe_bewegungsmelder_motion',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[iphone][binary_sensor.iphone_presence-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
@@ -95,6 +95,41 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_devices[aeotec_smart_home_hub]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': 'https://account.smartthings.com',
|
||||
'connections': set({
|
||||
tuple(
|
||||
'mac',
|
||||
'68:3a:48:50:1a:75',
|
||||
),
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'smartthings',
|
||||
'8ea8d2a4-4f93-4b49-94b8-c9cafd4ffedb',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': None,
|
||||
'model': 'V4_HUB',
|
||||
'model_id': None,
|
||||
'name': 'Smart Home Hub',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': '000.059.00008',
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_devices[aq_sensor_3_ikea]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -1955,6 +1990,99 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_devices[ikea_leak_battery]
|
||||
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': 'P2.0',
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'smartthings',
|
||||
'4496dbbd-db7b-4b72-89a8-208ed9482832',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': None,
|
||||
'model': None,
|
||||
'model_id': None,
|
||||
'name': 'Waschkeller Feuchtigkeitssensor',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': '1.0.11',
|
||||
'via_device_id': <ANY>,
|
||||
})
|
||||
# ---
|
||||
# name: test_devices[ikea_motion_illuminance_battery]
|
||||
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': 'P2.0',
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'smartthings',
|
||||
'6f730725-d8c9-4d06-bac6-7dd96a3c75d8',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': None,
|
||||
'model': None,
|
||||
'model_id': None,
|
||||
'name': 'Gaderobe Bewegungsmelder',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': '1.0.7',
|
||||
'via_device_id': <ANY>,
|
||||
})
|
||||
# ---
|
||||
# name: test_devices[ikea_plug_powermeter]
|
||||
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': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'smartthings',
|
||||
'9be7ea22-975e-41f0-bc3c-e811a6fb1289',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': None,
|
||||
'model': None,
|
||||
'model_id': None,
|
||||
'name': 'IKEA Plug Powermeter',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': <ANY>,
|
||||
})
|
||||
# ---
|
||||
# name: test_devices[im_smarttag2_ble_uwb]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -2079,6 +2207,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_devices[meross_plug]
|
||||
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': '9.0',
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'smartthings',
|
||||
'e95e4c85-4f9e-4961-9656-4632821ce8c6',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': None,
|
||||
'model': None,
|
||||
'model_id': None,
|
||||
'name': 'Waschkeller Trockner Plug',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': '510802250905784',
|
||||
'sw_version': '9.3.26',
|
||||
'via_device_id': <ANY>,
|
||||
})
|
||||
# ---
|
||||
# name: test_devices[multipurpose_sensor]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': 'theater',
|
||||
|
||||
@@ -738,3 +738,62 @@
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_plug_powermeter][light.ikea_plug_powermeter-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'supported_color_modes': list([
|
||||
<ColorMode.BRIGHTNESS: 'brightness'>,
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'light',
|
||||
'entity_category': None,
|
||||
'entity_id': 'light.ikea_plug_powermeter',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': None,
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': <LightEntityFeature: 32>,
|
||||
'translation_key': None,
|
||||
'unique_id': '9be7ea22-975e-41f0-bc3c-e811a6fb1289_main',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_plug_powermeter][light.ikea_plug_powermeter-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'brightness': 102,
|
||||
'color_mode': <ColorMode.BRIGHTNESS: 'brightness'>,
|
||||
'friendly_name': 'IKEA Plug Powermeter',
|
||||
'supported_color_modes': list([
|
||||
<ColorMode.BRIGHTNESS: 'brightness'>,
|
||||
]),
|
||||
'supported_features': <LightEntityFeature: 32>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'light.ikea_plug_powermeter',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
|
||||
@@ -19194,6 +19194,276 @@
|
||||
'state': '37',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_leak_battery][sensor.waschkeller_feuchtigkeitssensor_battery-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': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'sensor.waschkeller_feuchtigkeitssensor_battery',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Battery',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.BATTERY: 'battery'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Battery',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '4496dbbd-db7b-4b72-89a8-208ed9482832_main_battery_battery_battery',
|
||||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_leak_battery][sensor.waschkeller_feuchtigkeitssensor_battery-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'battery',
|
||||
'friendly_name': 'Waschkeller Feuchtigkeitssensor Battery',
|
||||
'unit_of_measurement': '%',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.waschkeller_feuchtigkeitssensor_battery',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '100',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_motion_illuminance_battery][sensor.gaderobe_bewegungsmelder_battery-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': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'sensor.gaderobe_bewegungsmelder_battery',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Battery',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.BATTERY: 'battery'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Battery',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '6f730725-d8c9-4d06-bac6-7dd96a3c75d8_main_battery_battery_battery',
|
||||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_motion_illuminance_battery][sensor.gaderobe_bewegungsmelder_battery-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'battery',
|
||||
'friendly_name': 'Gaderobe Bewegungsmelder Battery',
|
||||
'unit_of_measurement': '%',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.gaderobe_bewegungsmelder_battery',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '100',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_motion_illuminance_battery][sensor.gaderobe_bewegungsmelder_illuminance-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.gaderobe_bewegungsmelder_illuminance',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Illuminance',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.ILLUMINANCE: 'illuminance'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Illuminance',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '6f730725-d8c9-4d06-bac6-7dd96a3c75d8_main_illuminanceMeasurement_illuminance_illuminance',
|
||||
'unit_of_measurement': 'lx',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_motion_illuminance_battery][sensor.gaderobe_bewegungsmelder_illuminance-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'illuminance',
|
||||
'friendly_name': 'Gaderobe Bewegungsmelder Illuminance',
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
'unit_of_measurement': 'lx',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.gaderobe_bewegungsmelder_illuminance',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '16',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_plug_powermeter][sensor.ikea_plug_powermeter_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.ikea_plug_powermeter_energy',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Energy',
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 2,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Energy',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '9be7ea22-975e-41f0-bc3c-e811a6fb1289_main_energyMeter_energy_energy',
|
||||
'unit_of_measurement': 'kWh',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_plug_powermeter][sensor.ikea_plug_powermeter_energy-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'IKEA Plug Powermeter Energy',
|
||||
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
||||
'unit_of_measurement': 'kWh',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.ikea_plug_powermeter_energy',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '0.004',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_plug_powermeter][sensor.ikea_plug_powermeter_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.ikea_plug_powermeter_power',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Power',
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 0,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Power',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '9be7ea22-975e-41f0-bc3c-e811a6fb1289_main_powerMeter_power_power',
|
||||
'unit_of_measurement': 'W',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_plug_powermeter][sensor.ikea_plug_powermeter_power-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'power',
|
||||
'friendly_name': 'IKEA Plug Powermeter Power',
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
'unit_of_measurement': 'W',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.ikea_plug_powermeter_power',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[lumi][sensor.outdoor_temp_atmospheric_pressure-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
@@ -19416,6 +19686,234 @@
|
||||
'state': '24.4444444444444',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_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.waschkeller_trockner_plug_energy',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Energy',
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 0,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Energy',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': 'e95e4c85-4f9e-4961-9656-4632821ce8c6_main_energyMeter_energy_energy',
|
||||
'unit_of_measurement': 'Wh',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_energy-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'Waschkeller Trockner Plug Energy',
|
||||
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
||||
'unit_of_measurement': 'Wh',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.waschkeller_trockner_plug_energy',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '9233.836',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_energy_2-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.waschkeller_trockner_plug_energy_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Energy',
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 2,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Energy',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': 'e95e4c85-4f9e-4961-9656-4632821ce8c6_main_powerConsumptionReport_powerConsumption_energy_meter',
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_energy_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'Waschkeller Trockner Plug Energy',
|
||||
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.waschkeller_trockner_plug_energy_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '9.233836',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_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.waschkeller_trockner_plug_energy_difference',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Energy difference',
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 2,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Energy difference',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'energy_difference',
|
||||
'unique_id': 'e95e4c85-4f9e-4961-9656-4632821ce8c6_main_powerConsumptionReport_powerConsumption_deltaEnergy_meter',
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_energy_difference-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'Waschkeller Trockner Plug Energy difference',
|
||||
'state_class': <SensorStateClass.TOTAL: 'total'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.waschkeller_trockner_plug_energy_difference',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_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.waschkeller_trockner_plug_power',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Power',
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 0,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Power',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': 'e95e4c85-4f9e-4961-9656-4632821ce8c6_main_powerMeter_power_power',
|
||||
'unit_of_measurement': 'W',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_power-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'power',
|
||||
'friendly_name': 'Waschkeller Trockner Plug Power',
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
'unit_of_measurement': 'W',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.waschkeller_trockner_plug_power',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[multipurpose_sensor][sensor.deck_door_battery-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
@@ -1910,6 +1910,55 @@
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][switch.waschkeller_trockner_plug-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.waschkeller_trockner_plug',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': None,
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': 'e95e4c85-4f9e-4961-9656-4632821ce8c6_main_switch_switch_switch',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][switch.waschkeller_trockner_plug-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Waschkeller Trockner Plug',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'switch.waschkeller_trockner_plug',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[sensibo_airconditioner_1][switch.office-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
@@ -1,4 +1,66 @@
|
||||
# serializer version: 1
|
||||
# name: test_all_entities[aeotec_smart_home_hub][update.smart_home_hub_firmware-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': 'update',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'update.smart_home_hub_firmware',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Firmware',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Firmware',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': <UpdateEntityFeature: 5>,
|
||||
'translation_key': None,
|
||||
'unique_id': '8ea8d2a4-4f93-4b49-94b8-c9cafd4ffedb_main',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[aeotec_smart_home_hub][update.smart_home_hub_firmware-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'auto_update': False,
|
||||
'device_class': 'firmware',
|
||||
'display_precision': 0,
|
||||
'entity_picture': '/api/brands/integration/smartthings/icon.png',
|
||||
'friendly_name': 'Smart Home Hub Firmware',
|
||||
'in_progress': False,
|
||||
'installed_version': 'hubv4@3.39.8-0-g342d3657',
|
||||
'latest_version': 'hubv4@3.39.8-0-g342d3657',
|
||||
'release_summary': None,
|
||||
'release_url': None,
|
||||
'skipped_version': None,
|
||||
'supported_features': <UpdateEntityFeature: 5>,
|
||||
'title': None,
|
||||
'update_percentage': None,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'update.smart_home_hub_firmware',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[aq_sensor_3_ikea][update.aq_sensor_3_ikea_firmware-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
@@ -309,6 +371,254 @@
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_leak_battery][update.waschkeller_feuchtigkeitssensor_firmware-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': 'update',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'update.waschkeller_feuchtigkeitssensor_firmware',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Firmware',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Firmware',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': <UpdateEntityFeature: 5>,
|
||||
'translation_key': None,
|
||||
'unique_id': '4496dbbd-db7b-4b72-89a8-208ed9482832_main',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_leak_battery][update.waschkeller_feuchtigkeitssensor_firmware-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'auto_update': False,
|
||||
'device_class': 'firmware',
|
||||
'display_precision': 0,
|
||||
'entity_picture': '/api/brands/integration/smartthings/icon.png',
|
||||
'friendly_name': 'Waschkeller Feuchtigkeitssensor Firmware',
|
||||
'in_progress': False,
|
||||
'installed_version': '1.0.11 (16777227)',
|
||||
'latest_version': '1.0.11 (16777227)',
|
||||
'release_summary': None,
|
||||
'release_url': None,
|
||||
'skipped_version': None,
|
||||
'supported_features': <UpdateEntityFeature: 5>,
|
||||
'title': None,
|
||||
'update_percentage': None,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'update.waschkeller_feuchtigkeitssensor_firmware',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_motion_illuminance_battery][update.gaderobe_bewegungsmelder_firmware-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': 'update',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'update.gaderobe_bewegungsmelder_firmware',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Firmware',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Firmware',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': <UpdateEntityFeature: 5>,
|
||||
'translation_key': None,
|
||||
'unique_id': '6f730725-d8c9-4d06-bac6-7dd96a3c75d8_main',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_motion_illuminance_battery][update.gaderobe_bewegungsmelder_firmware-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'auto_update': False,
|
||||
'device_class': 'firmware',
|
||||
'display_precision': 0,
|
||||
'entity_picture': '/api/brands/integration/smartthings/icon.png',
|
||||
'friendly_name': 'Gaderobe Bewegungsmelder Firmware',
|
||||
'in_progress': False,
|
||||
'installed_version': '1.0.7 (16777223)',
|
||||
'latest_version': '1.0.7 (16777223)',
|
||||
'release_summary': None,
|
||||
'release_url': None,
|
||||
'skipped_version': None,
|
||||
'supported_features': <UpdateEntityFeature: 5>,
|
||||
'title': None,
|
||||
'update_percentage': None,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'update.gaderobe_bewegungsmelder_firmware',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_plug_powermeter][update.ikea_plug_powermeter_firmware-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': 'update',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'update.ikea_plug_powermeter_firmware',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Firmware',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Firmware',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': <UpdateEntityFeature: 5>,
|
||||
'translation_key': None,
|
||||
'unique_id': '9be7ea22-975e-41f0-bc3c-e811a6fb1289_main',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[ikea_plug_powermeter][update.ikea_plug_powermeter_firmware-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'auto_update': False,
|
||||
'device_class': 'firmware',
|
||||
'display_precision': 0,
|
||||
'entity_picture': '/api/brands/integration/smartthings/icon.png',
|
||||
'friendly_name': 'IKEA Plug Powermeter Firmware',
|
||||
'in_progress': False,
|
||||
'installed_version': '02040045',
|
||||
'latest_version': '02040045',
|
||||
'release_summary': None,
|
||||
'release_url': None,
|
||||
'skipped_version': None,
|
||||
'supported_features': <UpdateEntityFeature: 5>,
|
||||
'title': None,
|
||||
'update_percentage': None,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'update.ikea_plug_powermeter_firmware',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][update.waschkeller_trockner_plug_firmware-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': 'update',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'update.waschkeller_trockner_plug_firmware',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Firmware',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Firmware',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': <UpdateEntityFeature: 5>,
|
||||
'translation_key': None,
|
||||
'unique_id': 'e95e4c85-4f9e-4961-9656-4632821ce8c6_main',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[meross_plug][update.waschkeller_trockner_plug_firmware-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'auto_update': False,
|
||||
'device_class': 'firmware',
|
||||
'display_precision': 0,
|
||||
'entity_picture': '/api/brands/integration/smartthings/icon.png',
|
||||
'friendly_name': 'Waschkeller Trockner Plug Firmware',
|
||||
'in_progress': False,
|
||||
'installed_version': '9.3.26 (1)',
|
||||
'latest_version': '9.3.26 (1)',
|
||||
'release_summary': None,
|
||||
'release_url': None,
|
||||
'skipped_version': None,
|
||||
'supported_features': <UpdateEntityFeature: 5>,
|
||||
'title': None,
|
||||
'update_percentage': None,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'update.waschkeller_trockner_plug_firmware',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[multipurpose_sensor][update.deck_door_firmware-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
Reference in New Issue
Block a user