diff --git a/homeassistant/components/anova/manifest.json b/homeassistant/components/anova/manifest.json index a4119a03abc39..3ca21d35d03c9 100644 --- a/homeassistant/components/anova/manifest.json +++ b/homeassistant/components/anova/manifest.json @@ -7,5 +7,5 @@ "integration_type": "hub", "iot_class": "cloud_push", "loggers": ["anova_wifi"], - "requirements": ["anova-wifi==0.17.1"] + "requirements": ["anova-wifi==1.0.1"] } diff --git a/homeassistant/components/intelliclima/manifest.json b/homeassistant/components/intelliclima/manifest.json index 97c90f65e96ea..37c2a3ab0045c 100644 --- a/homeassistant/components/intelliclima/manifest.json +++ b/homeassistant/components/intelliclima/manifest.json @@ -7,5 +7,5 @@ "integration_type": "device", "iot_class": "cloud_polling", "quality_scale": "bronze", - "requirements": ["pyintelliclima==0.3.1"] + "requirements": ["pyintelliclima==0.4.0"] } diff --git a/requirements_all.txt b/requirements_all.txt index b61f572ace203..dc89cc0262098 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -525,7 +525,7 @@ androidtvremote2==0.3.1 anel-pwrctrl-homeassistant==0.0.1.dev2 # homeassistant.components.anova -anova-wifi==0.17.1 +anova-wifi==1.0.1 # homeassistant.components.anthemav anthemav==1.4.2 @@ -2267,7 +2267,7 @@ pyimouapi==1.3.0 pyinsteon==1.6.4 # homeassistant.components.intelliclima -pyintelliclima==0.3.1 +pyintelliclima==0.4.0 # homeassistant.components.intesishome pyintesishome==2.0.3 diff --git a/tests/components/matter/common.py b/tests/components/matter/common.py index 2c80490865f0b..9962d4308a0bc 100644 --- a/tests/components/matter/common.py +++ b/tests/components/matter/common.py @@ -24,6 +24,7 @@ "aqara_multi_state_p100", "aqara_presence_fp300", "aqara_sensor_w100", + "aqara_shutter_switch_h2", "aqara_thermostat_w500", "aqara_u200", "atios_knx_bridge", diff --git a/tests/components/matter/fixtures/nodes/aqara_shutter_switch_h2.json b/tests/components/matter/fixtures/nodes/aqara_shutter_switch_h2.json new file mode 100644 index 0000000000000..a9e894b2206ba --- /dev/null +++ b/tests/components/matter/fixtures/nodes/aqara_shutter_switch_h2.json @@ -0,0 +1,717 @@ +{ + "node_id": 193, + "date_commissioned": "2026-07-30T15:08:38.765000", + "last_interview": "2026-07-30T15:08:50.683000", + "interview_version": 6, + "available": true, + "is_bridge": false, + "attributes": { + "0/29/65532": 1, + "0/29/4": [ + { + "0": null, + "1": 7, + "2": 0 + } + ], + "0/29/65533": 2, + "0/29/0": [ + { + "0": 1296, + "1": 1 + }, + { + "0": 18, + "1": 1 + }, + { + "0": 22, + "1": 3 + } + ], + "0/29/1": [29, 31, 40, 42, 48, 49, 51, 52, 53, 60, 62, 63, 144, 145, 156], + "0/29/2": [41], + "0/29/3": [1, 2, 3], + "0/29/65531": [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533], + "0/29/65529": [], + "0/29/65528": [], + "0/31/1": [], + "0/31/65533": 2, + "0/31/65532": 0, + "0/31/0": [ + { + "1": 5, + "2": 2, + "3": [112233], + "4": null, + "254": 3 + } + ], + "0/31/2": 4, + "0/31/3": 3, + "0/31/4": 4, + "0/31/65531": [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533], + "0/31/65529": [], + "0/31/65528": [], + "0/40/11": "20251103", + "0/40/12": "AK189", + "0/40/13": "https://www.aqara.com/en/products.html", + "0/40/14": "Aqara Shutter Switch H2 EU", + "0/40/15": "************", + "0/40/16": false, + "0/40/18": "************", + "0/40/21": 17039616, + "0/40/22": 1, + "0/40/65533": 3, + "0/40/0": 18, + "0/40/1": "Aqara", + "0/40/2": 4447, + "0/40/3": "Aqara Shutter Switch H2 EU", + "0/40/4": 4109, + "0/40/5": "", + "0/40/6": "**REDACTED**", + "0/40/7": 1000, + "0/40/8": "1.0.0.0", + "0/40/9": 1000, + "0/40/10": "1.0.0.0", + "0/40/19": { + "0": 3, + "1": 3 + }, + "0/40/65532": 0, + "0/40/65531": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 21, 22, + 65528, 65529, 65531, 65532, 65533 + ], + "0/40/65529": [], + "0/40/65528": [], + "0/42/65533": 1, + "0/42/0": [], + "0/42/1": true, + "0/42/2": 1, + "0/42/3": null, + "0/42/65532": 0, + "0/42/65531": [0, 1, 2, 3, 65528, 65529, 65531, 65532, 65533], + "0/42/65529": [0], + "0/42/65528": [], + "0/48/65533": 1, + "0/48/65532": 0, + "0/48/0": 0, + "0/48/1": { + "0": 60, + "1": 900 + }, + "0/48/2": 0, + "0/48/3": 0, + "0/48/4": true, + "0/48/65531": [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533], + "0/48/65529": [0, 2, 4], + "0/48/65528": [1, 3, 5], + "0/49/65532": 2, + "0/49/2": 10, + "0/49/3": 20, + "0/49/9": 10, + "0/49/10": 4, + "0/49/65533": 2, + "0/49/0": 1, + "0/49/1": [ + { + "0": "p0jbsOzJRNw=", + "1": true + } + ], + "0/49/4": true, + "0/49/5": 0, + "0/49/6": "p0jbsOzJRNw=", + "0/49/7": null, + "0/49/65531": [ + 0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 65528, 65529, 65531, 65532, 65533 + ], + "0/49/65529": [0, 3, 4, 6, 8], + "0/49/65528": [1, 5, 7], + "0/51/3": 0, + "0/51/4": 1, + "0/51/5": [], + "0/51/6": [], + "0/51/7": [], + "0/51/65533": 2, + "0/51/65532": 0, + "0/51/0": [ + { + "0": "MyHome", + "1": true, + "2": null, + "3": null, + "4": "hgG3BqEgn+8=", + "5": [], + "6": [ + "/VX8YmMnAAEBfYZlMPDvkA==", + "/QANuACgAAAAAAD//gDUEw==", + "/QANuACgAADzd3MoSXUu0Q==", + "/oAAAAAAAACEAbcGoSCf7w==" + ], + "7": 4 + } + ], + "0/51/1": 4, + "0/51/2": 437, + "0/51/8": false, + "0/51/65531": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 65528, 65529, 65531, 65532, 65533 + ], + "0/51/65529": [0, 1], + "0/51/65528": [2], + "0/52/65532": 1, + "0/52/0": [ + { + "0": 10, + "1": "Bluetoot", + "3": 1438 + }, + { + "0": 9, + "1": "Bluetoot", + "3": 107 + }, + { + "0": 2, + "1": "OT Stack", + "3": 692 + }, + { + "0": 3, + "1": "sys_evt", + "3": 1968 + }, + { + "0": 1, + "1": "Bluetoot", + "3": 306 + }, + { + "0": 8, + "1": "Tmr Svc", + "3": 801 + }, + { + "0": 7, + "1": "IDLE", + "3": 249 + }, + { + "0": 11, + "1": "app", + "3": 704 + }, + { + "0": 5, + "1": "CHIP", + "3": 217 + } + ], + "0/52/1": 64024, + "0/52/2": 36696, + "0/52/3": 4294960819, + "0/52/65533": 1, + "0/52/65531": [0, 1, 2, 3, 65528, 65529, 65531, 65532, 65533], + "0/52/65529": [0], + "0/52/65528": [], + "0/53/65532": 15, + "0/53/6": 0, + "0/53/14": 1, + "0/53/15": 1, + "0/53/16": 0, + "0/53/17": 0, + "0/53/18": 1, + "0/53/19": 1, + "0/53/20": 0, + "0/53/21": 0, + "0/53/22": 458, + "0/53/23": 457, + "0/53/24": 1, + "0/53/25": 457, + "0/53/26": 457, + "0/53/27": 1, + "0/53/28": 458, + "0/53/29": 0, + "0/53/30": 0, + "0/53/31": 0, + "0/53/32": 0, + "0/53/33": 23, + "0/53/34": 0, + "0/53/35": 0, + "0/53/36": 14, + "0/53/37": 0, + "0/53/38": 0, + "0/53/39": 420, + "0/53/40": 249, + "0/53/41": 100, + "0/53/42": 348, + "0/53/43": 0, + "0/53/44": 0, + "0/53/45": 0, + "0/53/46": 0, + "0/53/47": 0, + "0/53/48": 0, + "0/53/49": 1, + "0/53/50": 0, + "0/53/51": 71, + "0/53/52": 0, + "0/53/53": 0, + "0/53/54": 0, + "0/53/55": 0, + "0/53/56": 65536, + "0/53/57": 0, + "0/53/58": 0, + "0/53/63": null, + "0/53/64": null, + "0/53/65533": 2, + "0/53/0": 25, + "0/53/1": 4, + "0/53/2": "MyHome", + "0/53/3": 4660, + "0/53/4": 12054125955590472924, + "0/53/5": "QP0ADbgAoAAA", + "0/53/7": [ + { + "0": 7684895770532068360, + "1": 11, + "2": 13312, + "3": 345810, + "4": 17279, + "5": 3, + "6": -73, + "7": -73, + "8": 0, + "9": 0, + "10": true, + "11": true, + "12": true, + "13": false + }, + { + "0": 8265194500311707858, + "1": 18, + "2": 30720, + "3": 60579, + "4": 19423, + "5": 3, + "6": -37, + "7": -36, + "8": 0, + "9": 0, + "10": true, + "11": true, + "12": true, + "13": false + }, + { + "0": 4206032556233211940, + "1": 22, + "2": 53248, + "3": 232648, + "4": 45717, + "5": 2, + "6": -80, + "7": -80, + "8": 0, + "9": 0, + "10": true, + "11": true, + "12": true, + "13": false + } + ], + "0/53/8": [ + { + "0": 7684895770532068360, + "1": 13312, + "2": 13, + "3": 53, + "4": 1, + "5": 3, + "6": 3, + "7": 11, + "8": true, + "9": true + }, + { + "0": 0, + "1": 14336, + "2": 14, + "3": 53, + "4": 3, + "5": 0, + "6": 0, + "7": 11, + "8": true, + "9": false + }, + { + "0": 0, + "1": 25600, + "2": 25, + "3": 53, + "4": 1, + "5": 0, + "6": 0, + "7": 26, + "8": true, + "9": false + }, + { + "0": 0, + "1": 26624, + "2": 26, + "3": 53, + "4": 1, + "5": 0, + "6": 0, + "7": 11, + "8": true, + "9": false + }, + { + "0": 8265194500311707858, + "1": 30720, + "2": 30, + "3": 53, + "4": 1, + "5": 3, + "6": 3, + "7": 18, + "8": true, + "9": true + }, + { + "0": 0, + "1": 44032, + "2": 43, + "3": 53, + "4": 1, + "5": 0, + "6": 0, + "7": 20, + "8": true, + "9": false + }, + { + "0": 0, + "1": 48128, + "2": 47, + "3": 53, + "4": 1, + "5": 0, + "6": 0, + "7": 9, + "8": true, + "9": false + }, + { + "0": 0, + "1": 50176, + "2": 49, + "3": 53, + "4": 1, + "5": 0, + "6": 0, + "7": 18, + "8": true, + "9": false + }, + { + "0": 4206032556233211940, + "1": 53248, + "2": 52, + "3": 53, + "4": 1, + "5": 2, + "6": 3, + "7": 22, + "8": true, + "9": true + }, + { + "0": 0, + "1": 54272, + "2": 53, + "3": 63, + "4": 0, + "5": 0, + "6": 0, + "7": 182, + "8": true, + "9": false + } + ], + "0/53/9": 831392105, + "0/53/10": 68, + "0/53/11": 240, + "0/53/12": 81, + "0/53/13": 49, + "0/53/59": { + "0": 672, + "1": 32911 + }, + "0/53/60": "AB//4A==", + "0/53/61": { + "0": true, + "1": false, + "2": true, + "3": true, + "4": true, + "5": true, + "6": false, + "7": true, + "8": true, + "9": true, + "10": true, + "11": true + }, + "0/53/62": [], + "0/53/65531": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + 57, 58, 59, 60, 61, 62, 65528, 65529, 65531, 65532, 65533 + ], + "0/53/65529": [0], + "0/53/65528": [], + "0/60/65533": 1, + "0/60/65532": 0, + "0/60/0": 0, + "0/60/1": null, + "0/60/2": null, + "0/60/65531": [0, 1, 2, 65528, 65529, 65531, 65532, 65533], + "0/60/65529": [0, 2], + "0/60/65528": [], + "0/62/65533": 1, + "0/62/0": [ + { + "1": "FTABAQQkAgE3AyQTAhgmBNXVHDAmBVUMykQ3BiQVAiQRwRgkBwEkCAEwCUEE1bzlh41SHAvtqjt1CCJh/L/YPbmjgQm3Jx2yJJ20w4WIKSvzgaew2G2+dTWDiuBb81+6LLqqHnM+IgD7pLyiiTcKNQEoARgkAgE2AwQCBAEYMAQU7oj9S/XvnOObKU8M+mbmT1VMv50wBRRa34d1hFPuca7UFWclq9cFnlPhShgwC0AgqBh37ol1axuvIRjJEf/zy1BkOa+/2wtJ3l/mahFhqXuh7dDav5z1d1x0Bz7puMY7L3RdO/4uWJEHxWEwB+CfGA==", + "2": "FTABAQEkAgE3AyQUARgmBIAigScmBYAlTTo3BiQTAhgkBwEkCAEwCUEEAV5qZprx2HWOKSP2iCzsI7A0CHgZVtbwsQ/y4ssETfB9z00733STIN0AfD552Vi1h6fJSeEg0/pA82bJL/y0azcKNQEpARgkAmAwBBRa34d1hFPuca7UFWclq9cFnlPhSjAFFG9oKFV1nAO5dx/+jKvq8o8oKcZbGDALQDD8OnB1NcHRxx387f9wZeFDYf32VZ3ZENQrlWBTQZqEKP+K6XjWmjTWttDEeW1kiNtB1T5ZBIaJUxVdqMuNQx8Y", + "254": 3 + } + ], + "0/62/1": [ + { + "1": "BG1FPaj8U/IZMJ0lkYRWnL7PNr67I7GmbKqrzOPKp92GWZkMLbxHskSpehAxMxW6nepQHWr+Eq9LLp7wy4CB7a4=", + "2": 4939, + "3": 2, + "4": 193, + "5": "ha-freebox", + "254": 3 + } + ], + "0/62/2": 5, + "0/62/3": 3, + "0/62/4": [ + "FTABAQAkAgE3AycUQhmZbaIbYjokFQIYJgRWZLcqJAUANwYnFEIZmW2iG2I6JBUCGCQHASQIATAJQQT2AlKGW/kOMjqayzeO0md523/fuhrhGEUU91uQpTiKo0I7wcPpKnmrwfQNPX6g0kEQl+VGaXa3e22lzfu5Tzp0Nwo1ASkBGCQCYDAEFOOMk13ScMKuT2hlaydi1yEJnhTqMAUU44yTXdJwwq5PaGVrJ2LXIQmeFOoYMAtAv2jJd1qd5miXbYesH1XrJ+vgyY0hzGuZ78N6Jw4Cb1oN1sLSpA+PNM0u7+hsEqcSvvn2eSV8EaRR+hg5YQjHDxg=", + "FTABD38O1NiPyscyxScZaN7uECQCATcDJhSoQfl2GCYEIqqfLyYFImy36zcGJhSoQfl2GCQHASQIATAJQQT5WrI2v6EgLRXdxlmZLlXX3rxeBe1C3NN/x9QV0tMVF+gH/FPSyq69dZKuoyskx0UOHcN20wdPffFuqgy/4uiaNwo1ASkBGCQCYDAEFM8XoLF/WKnSeqflSO5TQBQz4ObIMAUUzxegsX9YqdJ6p+VI7lNAFDPg5sgYMAtAHTWpsQPPwqR9gCqBGcDbPu2gusKeVuytcD5v7qK1/UjVr2/WGjMw3SYM10HWKdPTQZa2f3JI3uxv1nFnlcQpDBg=", + "FTABAQEkAgE3AyQUARgmBIAigScmBYAlTTo3BiQUARgkBwEkCAEwCUEEbUU9qPxT8hkwnSWRhFacvs82vrsjsaZsqqvM48qn3YZZmQwtvEeyRKl6EDEzFbqd6lAdav4Sr0sunvDLgIHtrjcKNQEpARgkAmAwBBRvaChVdZwDuXcf/oyr6vKPKCnGWzAFFG9oKFV1nAO5dx/+jKvq8o8oKcZbGDALQLa3jnnqN0/o6VG8wM4V9FDzrgDfKPd5cn3BBz77K80Jzo/aNotaTNOa6zX//yIvOkBZfGyq1Dh1vXZ4g2NKcXoY" + ], + "0/62/5": 3, + "0/62/65532": 0, + "0/62/65531": [0, 1, 2, 3, 4, 5, 65528, 65529, 65531, 65532, 65533], + "0/62/65529": [0, 2, 4, 6, 7, 9, 10, 11], + "0/62/65528": [1, 3, 5, 8], + "0/63/65533": 2, + "0/63/65532": 0, + "0/63/0": [], + "0/63/1": [], + "0/63/2": 12, + "0/63/3": 3, + "0/63/65531": [0, 1, 2, 3, 65528, 65529, 65531, 65532, 65533], + "0/63/65529": [0, 1, 3, 4], + "0/63/65528": [2, 5], + "0/144/65532": 2, + "0/144/4": null, + "0/144/5": null, + "0/144/65533": 1, + "0/144/0": 2, + "0/144/1": 2, + "0/144/2": [ + { + "0": 5, + "1": false, + "2": 2200, + "3": 48000000, + "4": [ + { + "0": 2200, + "1": 48000000, + "5": 0 + } + ] + }, + { + "0": 2, + "1": false, + "2": 20, + "3": 200000, + "4": [ + { + "0": 20, + "1": 200000, + "5": 0 + } + ] + } + ], + "0/144/8": null, + "0/144/65531": [0, 1, 2, 4, 5, 8, 65528, 65529, 65531, 65532, 65533], + "0/144/65529": [], + "0/144/65528": [], + "0/145/65532": 5, + "0/145/1": { + "0": 0, + "2": 845310100 + }, + "0/145/5": null, + "0/145/65533": 1, + "0/145/0": { + "0": 14, + "1": false, + "2": 0, + "3": 4611686018427387904 + }, + "0/145/65531": [0, 1, 3, 5, 65528, 65529, 65531, 65532, 65533], + "0/145/65529": [], + "0/145/65528": [], + "0/156/65532": 1, + "0/156/65533": 1, + "0/156/65531": [65528, 65529, 65531, 65532, 65533], + "0/156/65529": [], + "0/156/65528": [], + "1/3/65533": 5, + "1/3/0": 0, + "1/3/1": 2, + "1/3/65532": 0, + "1/3/65531": [0, 1, 65528, 65529, 65531, 65532, 65533], + "1/3/65529": [0, 64], + "1/3/65528": [], + "1/4/65532": 1, + "1/4/65533": 4, + "1/4/0": 128, + "1/4/65531": [0, 65528, 65529, 65531, 65532, 65533], + "1/4/65529": [0, 1, 2, 3, 4, 5], + "1/4/65528": [0, 1, 2, 3], + "1/29/65532": 1, + "1/29/4": [ + { + "0": null, + "1": 8, + "2": 0 + } + ], + "1/29/65533": 2, + "1/29/0": [ + { + "0": 514, + "1": 3 + } + ], + "1/29/1": [3, 4, 29, 258], + "1/29/2": [], + "1/29/3": [], + "1/29/65531": [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533], + "1/29/65529": [], + "1/29/65528": [], + "1/258/65532": 5, + "1/258/11": 10000, + "1/258/14": 10000, + "1/258/26": 0, + "1/258/65533": 5, + "1/258/0": 0, + "1/258/7": 9, + "1/258/10": 0, + "1/258/13": 0, + "1/258/23": 0, + "1/258/65531": [ + 0, 7, 10, 11, 13, 14, 23, 26, 65528, 65529, 65531, 65532, 65533 + ], + "1/258/65529": [0, 1, 2, 4, 5], + "1/258/65528": [], + "2/3/65533": 5, + "2/3/0": 0, + "2/3/1": 2, + "2/3/65532": 0, + "2/3/65531": [0, 1, 65528, 65529, 65531, 65532, 65533], + "2/3/65529": [0, 64], + "2/3/65528": [], + "2/29/65532": 1, + "2/29/4": [ + { + "0": null, + "1": 8, + "2": 1 + }, + { + "0": null, + "1": 7, + "2": 1 + } + ], + "2/29/65533": 2, + "2/29/0": [ + { + "0": 15, + "1": 3 + } + ], + "2/29/1": [3, 29, 59], + "2/29/2": [], + "2/29/3": [], + "2/29/65531": [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533], + "2/29/65529": [], + "2/29/65528": [], + "2/59/65532": 2, + "2/59/65533": 2, + "2/59/0": 2, + "2/59/1": 0, + "2/59/65531": [0, 1, 65528, 65529, 65531, 65532, 65533], + "2/59/65529": [], + "2/59/65528": [], + "3/3/65533": 5, + "3/3/0": 0, + "3/3/1": 2, + "3/3/65532": 0, + "3/3/65531": [0, 1, 65528, 65529, 65531, 65532, 65533], + "3/3/65529": [0, 64], + "3/3/65528": [], + "3/29/65532": 1, + "3/29/4": [ + { + "0": null, + "1": 8, + "2": 1 + }, + { + "0": null, + "1": 7, + "2": 2 + } + ], + "3/29/65533": 2, + "3/29/0": [ + { + "0": 15, + "1": 3 + } + ], + "3/29/1": [3, 29, 59], + "3/29/2": [], + "3/29/3": [], + "3/29/65531": [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533], + "3/29/65529": [], + "3/29/65528": [], + "3/59/65532": 2, + "3/59/65533": 2, + "3/59/0": 2, + "3/59/1": 0, + "3/59/65531": [0, 1, 65528, 65529, 65531, 65532, 65533], + "3/59/65529": [], + "3/59/65528": [] + }, + "attribute_subscriptions": [] +} diff --git a/tests/components/matter/snapshots/test_binary_sensor.ambr b/tests/components/matter/snapshots/test_binary_sensor.ambr index 4e55d95fca8ff..e8dd0b3a42796 100644 --- a/tests/components/matter/snapshots/test_binary_sensor.ambr +++ b/tests/components/matter/snapshots/test_binary_sensor.ambr @@ -203,6 +203,57 @@ 'state': 'on', }) # --- +# name: test_binary_sensors[aqara_shutter_switch_h2][binary_sensor.aqara_shutter_switch_h2_eu_configuration_status-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'binary_sensor', + 'entity_category': , + 'entity_id': 'binary_sensor.aqara_shutter_switch_h2_eu_configuration_status', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Configuration status', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Configuration status', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'config_status_operational', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-1-WindowCoveringConfigStatusOperational-258-7', + 'unit_of_measurement': None, + }) +# --- +# name: test_binary_sensors[aqara_shutter_switch_h2][binary_sensor.aqara_shutter_switch_h2_eu_configuration_status-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'problem', + : 'Aqara Shutter Switch H2 EU Configuration status', + }), + 'context': , + 'entity_id': 'binary_sensor.aqara_shutter_switch_h2_eu_configuration_status', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'off', + }) +# --- # name: test_binary_sensors[aqara_u200][binary_sensor.aqara_smart_lock_u200_actuator-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ diff --git a/tests/components/matter/snapshots/test_button.ambr b/tests/components/matter/snapshots/test_button.ambr index c2dade92f269e..f791eca115b1e 100644 --- a/tests/components/matter/snapshots/test_button.ambr +++ b/tests/components/matter/snapshots/test_button.ambr @@ -662,6 +662,159 @@ 'state': 'unknown', }) # --- +# name: test_buttons[aqara_shutter_switch_h2][button.aqara_shutter_switch_h2_eu_identify_1-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.aqara_shutter_switch_h2_eu_identify_1', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify (1)', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Identify (1)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-1-IdentifyButton-3-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[aqara_shutter_switch_h2][button.aqara_shutter_switch_h2_eu_identify_1-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'identify', + : 'Aqara Shutter Switch H2 EU Identify (1)', + }), + 'context': , + 'entity_id': 'button.aqara_shutter_switch_h2_eu_identify_1', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_buttons[aqara_shutter_switch_h2][button.aqara_shutter_switch_h2_eu_identify_2-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.aqara_shutter_switch_h2_eu_identify_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify (2)', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Identify (2)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-2-IdentifyButton-3-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[aqara_shutter_switch_h2][button.aqara_shutter_switch_h2_eu_identify_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'identify', + : 'Aqara Shutter Switch H2 EU Identify (2)', + }), + 'context': , + 'entity_id': 'button.aqara_shutter_switch_h2_eu_identify_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_buttons[aqara_shutter_switch_h2][button.aqara_shutter_switch_h2_eu_identify_3-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.aqara_shutter_switch_h2_eu_identify_3', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify (3)', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Identify (3)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-3-IdentifyButton-3-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[aqara_shutter_switch_h2][button.aqara_shutter_switch_h2_eu_identify_3-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'identify', + : 'Aqara Shutter Switch H2 EU Identify (3)', + }), + 'context': , + 'entity_id': 'button.aqara_shutter_switch_h2_eu_identify_3', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- # name: test_buttons[aqara_thermostat_w500][button.floor_heating_thermostat_identify_1-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ diff --git a/tests/components/matter/snapshots/test_cover.ambr b/tests/components/matter/snapshots/test_cover.ambr index 1f322b6d5d910..c226415fc0c30 100644 --- a/tests/components/matter/snapshots/test_cover.ambr +++ b/tests/components/matter/snapshots/test_cover.ambr @@ -1,4 +1,58 @@ # serializer version: 1 +# name: test_covers[aqara_shutter_switch_h2][cover.aqara_shutter_switch_h2_eu-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'cover', + 'entity_category': None, + 'entity_id': 'cover.aqara_shutter_switch_h2_eu', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': None, + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': None, + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': , + 'translation_key': None, + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-1-MatterCoverPositionAwareLift-258-10', + 'unit_of_measurement': None, + }) +# --- +# name: test_covers[aqara_shutter_switch_h2][cover.aqara_shutter_switch_h2_eu-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 0, + : 'shade', + : 'Aqara Shutter Switch H2 EU', + : True, + : , + }), + 'context': , + 'entity_id': 'cover.aqara_shutter_switch_h2_eu', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'closed', + }) +# --- # name: test_covers[eve_shutter][cover.eve_shutter_switch_20eci1701-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ diff --git a/tests/components/matter/snapshots/test_event.ambr b/tests/components/matter/snapshots/test_event.ambr index 0ec4e27fff8a3..f6e318209c249 100644 --- a/tests/components/matter/snapshots/test_event.ambr +++ b/tests/components/matter/snapshots/test_event.ambr @@ -194,6 +194,124 @@ 'state': 'unknown', }) # --- +# name: test_events[aqara_shutter_switch_h2][event.aqara_shutter_switch_h2_eu_button_2-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : list([ + 'initial_press', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'event', + 'entity_category': None, + 'entity_id': 'event.aqara_shutter_switch_h2_eu_button_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Button (2)', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Button (2)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'button', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-2-GenericSwitch-59-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_events[aqara_shutter_switch_h2][event.aqara_shutter_switch_h2_eu_button_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'button', + : None, + : list([ + 'initial_press', + ]), + : 'Aqara Shutter Switch H2 EU Button (2)', + }), + 'context': , + 'entity_id': 'event.aqara_shutter_switch_h2_eu_button_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_events[aqara_shutter_switch_h2][event.aqara_shutter_switch_h2_eu_button_3-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : list([ + 'initial_press', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'event', + 'entity_category': None, + 'entity_id': 'event.aqara_shutter_switch_h2_eu_button_3', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Button (3)', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Button (3)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'button', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-3-GenericSwitch-59-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_events[aqara_shutter_switch_h2][event.aqara_shutter_switch_h2_eu_button_3-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'button', + : None, + : list([ + 'initial_press', + ]), + : 'Aqara Shutter Switch H2 EU Button (3)', + }), + 'context': , + 'entity_id': 'event.aqara_shutter_switch_h2_eu_button_3', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- # name: test_events[haojai_switch][event.hjmt_6b_button_1-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ diff --git a/tests/components/matter/snapshots/test_sensor.ambr b/tests/components/matter/snapshots/test_sensor.ambr index 49e92ae6c5e12..fe243c28e2581 100644 --- a/tests/components/matter/snapshots/test_sensor.ambr +++ b/tests/components/matter/snapshots/test_sensor.ambr @@ -3328,6 +3328,692 @@ 'state': '2025-01-01T13:55:01+00:00', }) # --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_active_current-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_active_current', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Active current', + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 2, + }), + 'sensor.private': dict({ + 'suggested_unit_of_measurement': , + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Active current', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'active_current', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-0-ElectricalPowerMeasurementActiveCurrent-144-5', + 'unit_of_measurement': , + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_active_current-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'current', + : 'Aqara Shutter Switch H2 EU Active current', + : , + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_active_current', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_boot_reason-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : list([ + 'unspecified', + 'power_on_reboot', + 'brown_out_reset', + 'software_watchdog_reset', + 'hardware_watchdog_reset', + 'software_update_completed', + 'software_reset', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_boot_reason', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Boot reason', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Boot reason', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'boot_reason', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-0-GeneralDiagnosticsBootReason-51-4', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_boot_reason-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'enum', + : 'Aqara Shutter Switch H2 EU Boot reason', + : list([ + 'unspecified', + 'power_on_reboot', + 'brown_out_reset', + 'software_watchdog_reset', + 'hardware_watchdog_reset', + 'software_update_completed', + 'software_reset', + ]), + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_boot_reason', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'power_on_reboot', + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_current_switch_position_2-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_current_switch_position_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Current switch position (2)', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Current switch position (2)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'switch_current_position', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-2-SwitchCurrentPosition-59-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_current_switch_position_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Shutter Switch H2 EU Current switch position (2)', + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_current_switch_position_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0', + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_current_switch_position_3-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_current_switch_position_3', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Current switch position (3)', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Current switch position (3)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'switch_current_position', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-3-SwitchCurrentPosition-59-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_current_switch_position_3-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Shutter Switch H2 EU Current switch position (3)', + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_current_switch_position_3', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0', + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_energy-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_energy', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Energy', + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 3, + }), + 'sensor.private': dict({ + 'suggested_unit_of_measurement': , + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Energy', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-0-ElectricalEnergyMeasurementCumulativeEnergyImported-145-1', + 'unit_of_measurement': , + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_energy-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'energy', + : 'Aqara Shutter Switch H2 EU Energy', + : , + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_energy', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0.0', + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_reboot_count-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_reboot_count', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reboot count', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reboot count', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reboot_count', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-0-GeneralDiagnosticsRebootCount-51-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_reboot_count-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Shutter Switch H2 EU Reboot count', + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_reboot_count', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '4', + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_target_opening_position-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_target_opening_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Target opening position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Target opening position', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'window_covering_target_position', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-1-TargetPositionLiftPercent100ths-258-11', + 'unit_of_measurement': , + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_target_opening_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Shutter Switch H2 EU Target opening position', + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_target_opening_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0', + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_thread_channel-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_thread_channel', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Thread channel', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Thread channel', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'thread_channel', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-0-ThreadDiagnosticsChannel-53-0', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_thread_channel-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Shutter Switch H2 EU Thread channel', + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_thread_channel', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '25', + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_thread_network_name-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_thread_network_name', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Thread network name', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Thread network name', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'thread_network_name', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-0-ThreadDiagnosticsNetworkName-53-2', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_thread_network_name-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Shutter Switch H2 EU Thread network name', + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_thread_network_name', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'MyHome', + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_thread_routing_role-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : list([ + 'unspecified', + 'unassigned', + 'sleepy_end_device', + 'end_device', + 'reed', + 'router', + 'leader', + 'unknown', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_thread_routing_role', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Thread routing role', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Thread routing role', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'thread_routing_role', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-0-ThreadDiagnosticsRoutingRole-53-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_thread_routing_role-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'enum', + : 'Aqara Shutter Switch H2 EU Thread routing role', + : list([ + 'unspecified', + 'unassigned', + 'sleepy_end_device', + 'end_device', + 'reed', + 'router', + 'leader', + 'unknown', + ]), + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_thread_routing_role', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'reed', + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_uptime-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_uptime', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Uptime', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Uptime', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'uptime', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-0-GeneralDiagnosticsUpTime-51-2', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_uptime-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'uptime', + : 'Aqara Shutter Switch H2 EU Uptime', + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_uptime', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2025-01-01T13:52:43+00:00', + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_voltage-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_voltage', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Voltage', + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 0, + }), + 'sensor.private': dict({ + 'suggested_unit_of_measurement': , + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Voltage', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'voltage', + 'unique_id': '00000000000004D2-00000000000000C1-MatterNodeDevice-0-ElectricalPowerMeasurementVoltage-144-4', + 'unit_of_measurement': , + }) +# --- +# name: test_sensors[aqara_shutter_switch_h2][sensor.aqara_shutter_switch_h2_eu_voltage-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'voltage', + : 'Aqara Shutter Switch H2 EU Voltage', + : , + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_shutter_switch_h2_eu_voltage', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- # name: test_sensors[aqara_thermostat_w500][sensor.floor_heating_thermostat_active_current-entry] EntityRegistryEntrySnapshot({ 'aliases': list([