mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Add test fixture for Aqara Light Switch H2 EU (#195099)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
ba04bb16be
commit
8b47294d34
@@ -22,6 +22,7 @@ FIXTURES = [
|
||||
"aqara_camera_hub_g350",
|
||||
"aqara_door_window_p2",
|
||||
"aqara_led_strip_t2",
|
||||
"aqara_light_switch_h2_eu_4105",
|
||||
"aqara_light_switch_h2_us_4099",
|
||||
"aqara_light_switch_h2_us_4100",
|
||||
"aqara_light_switch_h2_us_4101",
|
||||
|
||||
@@ -0,0 +1,648 @@
|
||||
{
|
||||
"node_id": 80,
|
||||
"date_commissioned": "2026-11-27T20:37:41.720000",
|
||||
"last_interview": "2026-11-27T20:37:44.588000",
|
||||
"interview_version": 6,
|
||||
"available": true,
|
||||
"is_bridge": false,
|
||||
"attributes": {
|
||||
"0/29/65532": 1,
|
||||
"0/29/65533": 2,
|
||||
"0/29/4": [
|
||||
{
|
||||
"0": null,
|
||||
"1": 67,
|
||||
"2": 8
|
||||
}
|
||||
],
|
||||
"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, 4, 5, 6, 7],
|
||||
"0/29/65531": [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533],
|
||||
"0/29/65529": [],
|
||||
"0/29/65528": [],
|
||||
"0/31/65533": 1,
|
||||
"0/31/1": [],
|
||||
"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/65533": 3,
|
||||
"0/40/11": "20240711",
|
||||
"0/40/12": "AK181",
|
||||
"0/40/13": "https://www.aqara.com/en/products.html",
|
||||
"0/40/14": "Aqara Light Switch H2 EU",
|
||||
"0/40/15": "54EF441000DE5425",
|
||||
"0/40/16": false,
|
||||
"0/40/18": "72E2FD8235C648D0",
|
||||
"0/40/21": 16973824,
|
||||
"0/40/22": 1,
|
||||
"0/40/0": 17,
|
||||
"0/40/1": "Aqara",
|
||||
"0/40/2": 4447,
|
||||
"0/40/3": "Aqara Light Switch H2 EU",
|
||||
"0/40/4": 4105,
|
||||
"0/40/5": "Aqara Smart Wall Switch",
|
||||
"0/40/6": "**REDACTED**",
|
||||
"0/40/7": 13,
|
||||
"0/40/8": "0.0.1.3",
|
||||
"0/40/9": 1010,
|
||||
"0/40/10": "1.0.1.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/65533": 2,
|
||||
"0/51/4": 1,
|
||||
"0/51/5": [],
|
||||
"0/51/65532": 0,
|
||||
"0/51/0": [
|
||||
{
|
||||
"0": "TestNetwork",
|
||||
"1": true,
|
||||
"2": null,
|
||||
"3": null,
|
||||
"4": "4t1jyuRGLSM=",
|
||||
"5": [],
|
||||
"6": [
|
||||
"/QANuACgAAAAAAD//gBEAA==",
|
||||
"/dw9HEpMAAF9p7Qx5bOkCQ==",
|
||||
"/QANuACgAABaBW4bOsDdkQ==",
|
||||
"/oAAAAAAAADg3WPK5EYtIw=="
|
||||
],
|
||||
"7": 4
|
||||
}
|
||||
],
|
||||
"0/51/1": 2,
|
||||
"0/51/2": 574,
|
||||
"0/51/8": false,
|
||||
"0/51/65531": [0, 1, 2, 4, 5, 8, 65528, 65529, 65531, 65532, 65533],
|
||||
"0/51/65529": [0, 1],
|
||||
"0/51/65528": [2],
|
||||
"0/52/65532": 1,
|
||||
"0/52/0": [
|
||||
{
|
||||
"0": 11,
|
||||
"1": "Bluetoot",
|
||||
"3": 1438
|
||||
},
|
||||
{
|
||||
"0": 10,
|
||||
"1": "Bluetoot",
|
||||
"3": 107
|
||||
},
|
||||
{
|
||||
"0": 3,
|
||||
"1": "THREAD",
|
||||
"3": 1575
|
||||
},
|
||||
{
|
||||
"0": 2,
|
||||
"1": "sys_evt",
|
||||
"3": 1986
|
||||
},
|
||||
{
|
||||
"0": 1,
|
||||
"1": "Bluetoot",
|
||||
"3": 306
|
||||
},
|
||||
{
|
||||
"0": 7,
|
||||
"1": "Tmr Svc",
|
||||
"3": 811
|
||||
},
|
||||
{
|
||||
"0": 8,
|
||||
"1": "app",
|
||||
"3": 720
|
||||
},
|
||||
{
|
||||
"0": 6,
|
||||
"1": "IDLE",
|
||||
"3": 255
|
||||
},
|
||||
{
|
||||
"0": 4,
|
||||
"1": "CHIP",
|
||||
"3": 321
|
||||
}
|
||||
],
|
||||
"0/52/1": 46008,
|
||||
"0/52/2": 35912,
|
||||
"0/52/3": 56200,
|
||||
"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/65533": 2,
|
||||
"0/53/6": 0,
|
||||
"0/53/10": null,
|
||||
"0/53/11": null,
|
||||
"0/53/12": null,
|
||||
"0/53/13": null,
|
||||
"0/53/22": 765,
|
||||
"0/53/23": 688,
|
||||
"0/53/24": 77,
|
||||
"0/53/39": 1102,
|
||||
"0/53/40": 311,
|
||||
"0/53/41": 781,
|
||||
"0/53/59": null,
|
||||
"0/53/60": null,
|
||||
"0/53/61": null,
|
||||
"0/53/62": [],
|
||||
"0/53/0": 25,
|
||||
"0/53/1": 5,
|
||||
"0/53/2": "TestNetwork",
|
||||
"0/53/3": 4660,
|
||||
"0/53/4": 12054125955590472924,
|
||||
"0/53/5": "QP0ADbgAoAAA",
|
||||
"0/53/7": [],
|
||||
"0/53/8": [],
|
||||
"0/53/9": 1785175020,
|
||||
"0/53/65531": [
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 22, 23, 24, 39, 40, 41, 65528, 65529, 65531,
|
||||
65532, 65533
|
||||
],
|
||||
"0/53/65529": [0],
|
||||
"0/53/65528": [],
|
||||
"0/60/65532": 1,
|
||||
"0/60/65533": 1,
|
||||
"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, 1, 2],
|
||||
"0/60/65528": [],
|
||||
"0/62/65533": 1,
|
||||
"0/62/0": [
|
||||
{
|
||||
"1": "FTABAQMkAgE3AyQUABgmBARluzAmBYSbaEU3BiQVAiQRSBgkBwEkCAEwCUEExf23XS6OcGJiOI1HivP9Fj8S9NgETlc1dOxSeJ8YIqg+lf1xHNFj01TSsTnE43gi00ajPjKnIrH4IapeIj+IUDcKNQEoARgkAgE2AwQCBAEYMAQU2uCvYl0toMe3UtNL4VTYdUhOWiIwBRTrxDluuCbWIJaOItexPxqHe7HxmBgwC0DJpAPLNebbV/2U0rukZJoIER6z2Qc/nsUUjsG/NbNFPPUaf/2c8B7AfgrxvSFwVKLyuSauXh5VorIlSZtEh2QoGA==",
|
||||
"2": null,
|
||||
"254": 3
|
||||
}
|
||||
],
|
||||
"0/62/1": [
|
||||
{
|
||||
"1": "BHIKyUhSUrFGQZBeVLYpjwfJi8AWCeSf6CSxNJF59QTNzu/iLyogZKwQubuiCMF9Xq2ZYBAd5MYu20vR8iTxjZI=",
|
||||
"2": 4939,
|
||||
"3": 2,
|
||||
"4": 72,
|
||||
"5": "Test-PC",
|
||||
"254": 3
|
||||
}
|
||||
],
|
||||
"0/62/2": 5,
|
||||
"0/62/3": 3,
|
||||
"0/62/4": [],
|
||||
"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/65533": 1,
|
||||
"0/144/5": null,
|
||||
"0/144/0": 2,
|
||||
"0/144/1": 2,
|
||||
"0/144/2": [
|
||||
{
|
||||
"0": 5,
|
||||
"1": false,
|
||||
"2": 0,
|
||||
"3": 2200000,
|
||||
"4": [
|
||||
{
|
||||
"0": 0,
|
||||
"1": 2200000,
|
||||
"5": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"0": 2,
|
||||
"1": false,
|
||||
"2": 0,
|
||||
"3": 8000,
|
||||
"4": [
|
||||
{
|
||||
"0": 0,
|
||||
"1": 8000,
|
||||
"5": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"0/144/8": null,
|
||||
"0/144/65531": [0, 1, 2, 5, 8, 65528, 65529, 65531, 65532, 65533],
|
||||
"0/144/65529": [],
|
||||
"0/144/65528": [],
|
||||
"0/145/65532": 5,
|
||||
"0/145/65533": 1,
|
||||
"0/145/1": {
|
||||
"0": 0,
|
||||
"2": 845310091
|
||||
},
|
||||
"0/145/5": null,
|
||||
"0/145/0": {
|
||||
"0": 14,
|
||||
"1": false,
|
||||
"2": 0,
|
||||
"3": 4611686018427387904,
|
||||
"4": [
|
||||
{
|
||||
"0": 0,
|
||||
"1": 4611686018427387904,
|
||||
"5": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"0/145/65531": [0, 1, 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": 4,
|
||||
"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],
|
||||
"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/6/65532": 1,
|
||||
"1/6/16384": true,
|
||||
"1/6/16385": 0,
|
||||
"1/6/16386": 0,
|
||||
"1/6/16387": null,
|
||||
"1/6/65533": 6,
|
||||
"1/6/0": true,
|
||||
"1/6/65531": [
|
||||
0, 16384, 16385, 16386, 16387, 65528, 65529, 65531, 65532, 65533
|
||||
],
|
||||
"1/6/65529": [0, 1, 2, 64, 65, 66],
|
||||
"1/6/65528": [],
|
||||
"1/29/65532": 1,
|
||||
"1/29/65533": 2,
|
||||
"1/29/4": [
|
||||
{
|
||||
"0": null,
|
||||
"1": 7,
|
||||
"2": 1
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 0
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 2
|
||||
}
|
||||
],
|
||||
"1/29/0": [
|
||||
{
|
||||
"0": 256,
|
||||
"1": 3
|
||||
}
|
||||
],
|
||||
"1/29/1": [3, 4, 6, 29],
|
||||
"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": [],
|
||||
"2/3/65533": 4,
|
||||
"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],
|
||||
"2/3/65528": [],
|
||||
"2/4/65532": 1,
|
||||
"2/4/65533": 4,
|
||||
"2/4/0": 128,
|
||||
"2/4/65531": [0, 65528, 65529, 65531, 65532, 65533],
|
||||
"2/4/65529": [0, 1, 2, 3, 4, 5],
|
||||
"2/4/65528": [0, 1, 2, 3],
|
||||
"2/6/65532": 1,
|
||||
"2/6/16384": true,
|
||||
"2/6/16385": 0,
|
||||
"2/6/16386": 0,
|
||||
"2/6/16387": null,
|
||||
"2/6/65533": 6,
|
||||
"2/6/0": false,
|
||||
"2/6/65531": [
|
||||
0, 16384, 16385, 16386, 16387, 65528, 65529, 65531, 65532, 65533
|
||||
],
|
||||
"2/6/65529": [0, 1, 2, 64, 65, 66],
|
||||
"2/6/65528": [],
|
||||
"2/29/65532": 1,
|
||||
"2/29/65533": 2,
|
||||
"2/29/4": [
|
||||
{
|
||||
"0": null,
|
||||
"1": 7,
|
||||
"2": 2
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 1
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 2
|
||||
}
|
||||
],
|
||||
"2/29/0": [
|
||||
{
|
||||
"0": 256,
|
||||
"1": 3
|
||||
}
|
||||
],
|
||||
"2/29/1": [3, 4, 6, 29],
|
||||
"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": [],
|
||||
"4/3/65533": 4,
|
||||
"4/3/0": 0,
|
||||
"4/3/1": 2,
|
||||
"4/3/65532": 0,
|
||||
"4/3/65531": [0, 1, 65528, 65529, 65531, 65532, 65533],
|
||||
"4/3/65529": [0],
|
||||
"4/3/65528": [],
|
||||
"4/29/65532": 1,
|
||||
"4/29/65533": 2,
|
||||
"4/29/4": [
|
||||
{
|
||||
"0": null,
|
||||
"1": 7,
|
||||
"2": 1
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 0
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 2
|
||||
}
|
||||
],
|
||||
"4/29/0": [
|
||||
{
|
||||
"0": 15,
|
||||
"1": 3
|
||||
}
|
||||
],
|
||||
"4/29/1": [3, 29, 59],
|
||||
"4/29/2": [],
|
||||
"4/29/3": [],
|
||||
"4/29/65531": [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533],
|
||||
"4/29/65529": [],
|
||||
"4/29/65528": [],
|
||||
"4/59/65532": 2,
|
||||
"4/59/65533": 1,
|
||||
"4/59/0": 2,
|
||||
"4/59/1": 0,
|
||||
"4/59/65531": [0, 1, 65528, 65529, 65531, 65532, 65533],
|
||||
"4/59/65529": [],
|
||||
"4/59/65528": [],
|
||||
"5/3/65533": 4,
|
||||
"5/3/0": 0,
|
||||
"5/3/1": 2,
|
||||
"5/3/65532": 0,
|
||||
"5/3/65531": [0, 1, 65528, 65529, 65531, 65532, 65533],
|
||||
"5/3/65529": [0],
|
||||
"5/3/65528": [],
|
||||
"5/29/65532": 1,
|
||||
"5/29/65533": 2,
|
||||
"5/29/4": [
|
||||
{
|
||||
"0": null,
|
||||
"1": 7,
|
||||
"2": 2
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 0
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 3
|
||||
}
|
||||
],
|
||||
"5/29/0": [
|
||||
{
|
||||
"0": 15,
|
||||
"1": 3
|
||||
}
|
||||
],
|
||||
"5/29/1": [3, 29, 59],
|
||||
"5/29/2": [],
|
||||
"5/29/3": [],
|
||||
"5/29/65531": [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533],
|
||||
"5/29/65529": [],
|
||||
"5/29/65528": [],
|
||||
"5/59/65532": 2,
|
||||
"5/59/65533": 1,
|
||||
"5/59/0": 2,
|
||||
"5/59/1": 0,
|
||||
"5/59/65531": [0, 1, 65528, 65529, 65531, 65532, 65533],
|
||||
"5/59/65529": [],
|
||||
"5/59/65528": [],
|
||||
"6/3/65533": 4,
|
||||
"6/3/0": 0,
|
||||
"6/3/1": 2,
|
||||
"6/3/65532": 0,
|
||||
"6/3/65531": [0, 1, 65528, 65529, 65531, 65532, 65533],
|
||||
"6/3/65529": [0],
|
||||
"6/3/65528": [],
|
||||
"6/29/65532": 1,
|
||||
"6/29/65533": 2,
|
||||
"6/29/4": [
|
||||
{
|
||||
"0": null,
|
||||
"1": 7,
|
||||
"2": 3
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 1
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 2
|
||||
}
|
||||
],
|
||||
"6/29/0": [
|
||||
{
|
||||
"0": 15,
|
||||
"1": 3
|
||||
}
|
||||
],
|
||||
"6/29/1": [3, 29, 59],
|
||||
"6/29/2": [],
|
||||
"6/29/3": [],
|
||||
"6/29/65531": [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533],
|
||||
"6/29/65529": [],
|
||||
"6/29/65528": [],
|
||||
"6/59/65532": 2,
|
||||
"6/59/65533": 1,
|
||||
"6/59/0": 2,
|
||||
"6/59/1": 0,
|
||||
"6/59/65531": [0, 1, 65528, 65529, 65531, 65532, 65533],
|
||||
"6/59/65529": [],
|
||||
"6/59/65528": [],
|
||||
"7/3/65533": 4,
|
||||
"7/3/0": 0,
|
||||
"7/3/1": 2,
|
||||
"7/3/65532": 0,
|
||||
"7/3/65531": [0, 1, 65528, 65529, 65531, 65532, 65533],
|
||||
"7/3/65529": [0],
|
||||
"7/3/65528": [],
|
||||
"7/29/65532": 1,
|
||||
"7/29/65533": 2,
|
||||
"7/29/4": [
|
||||
{
|
||||
"0": null,
|
||||
"1": 7,
|
||||
"2": 4
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 1
|
||||
},
|
||||
{
|
||||
"0": null,
|
||||
"1": 8,
|
||||
"2": 3
|
||||
}
|
||||
],
|
||||
"7/29/0": [
|
||||
{
|
||||
"0": 15,
|
||||
"1": 3
|
||||
}
|
||||
],
|
||||
"7/29/1": [3, 29, 59],
|
||||
"7/29/2": [],
|
||||
"7/29/3": [],
|
||||
"7/29/65531": [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533],
|
||||
"7/29/65529": [],
|
||||
"7/29/65528": [],
|
||||
"7/59/65532": 2,
|
||||
"7/59/65533": 1,
|
||||
"7/59/0": 2,
|
||||
"7/59/1": 0,
|
||||
"7/59/65531": [0, 1, 65528, 65529, 65531, 65532, 65533],
|
||||
"7/59/65529": [],
|
||||
"7/59/65528": []
|
||||
},
|
||||
"attribute_subscriptions": []
|
||||
}
|
||||
@@ -203,7 +203,313 @@
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_1-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_1-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Identify (1)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <ButtonDeviceClass.IDENTIFY: 'identify'>,
|
||||
'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-0000000000000050-MatterNodeDevice-1-IdentifyButton-3-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_1-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (1)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Identify (2)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <ButtonDeviceClass.IDENTIFY: 'identify'>,
|
||||
'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-0000000000000050-MatterNodeDevice-2-IdentifyButton-3-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (2)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_4-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Identify (4)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <ButtonDeviceClass.IDENTIFY: 'identify'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Identify (4)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-4-IdentifyButton-3-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_4-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (4)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_5-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Identify (5)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <ButtonDeviceClass.IDENTIFY: 'identify'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Identify (5)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-5-IdentifyButton-3-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_5-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (5)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_6-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_6',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Identify (6)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <ButtonDeviceClass.IDENTIFY: 'identify'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Identify (6)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-6-IdentifyButton-3-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_6-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (6)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_6',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_7-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_7',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Identify (7)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <ButtonDeviceClass.IDENTIFY: 'identify'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Identify (7)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-7-IdentifyButton-3-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_eu_4105][button.aqara_smart_wall_switch_identify_7-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (7)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_7',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_1_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -217,7 +523,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -240,21 +546,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_1-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_1_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (1)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_4-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_4_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -268,7 +574,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -291,21 +597,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_4-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_4_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (4)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_5-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_5_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -319,7 +625,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -342,21 +648,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_5-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4099][button.aqara_smart_wall_switch_identify_5_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (5)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_1_2-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_1_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -370,7 +676,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1_2',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -393,21 +699,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_1_2-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_1_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (1)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1_2',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_2-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_2_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -421,7 +727,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_2',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_2_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -444,21 +750,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_2-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_2_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (2)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_2',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_2_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_4_2-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_4_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -472,7 +778,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4_2',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -495,21 +801,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_4_2-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_4_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (4)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4_2',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_5_2-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_5_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -523,7 +829,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5_2',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -546,21 +852,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_5_2-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4100][button.aqara_smart_wall_switch_identify_5_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (5)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5_2',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_1_3-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_1_4-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -574,7 +880,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1_3',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1_4',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -597,21 +903,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_1_3-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_1_4-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (1)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1_3',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_1_4',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_2_2-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_2_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -625,7 +931,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_2_2',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_2_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -648,14 +954,14 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_2_2-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_2_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (2)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_2_2',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_2_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
@@ -713,7 +1019,7 @@
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_4_3-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_4_4-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -727,7 +1033,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4_3',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4_4',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -750,21 +1056,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_4_3-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_4_4-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (4)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4_3',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_4_4',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_5_3-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_5_4-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -778,7 +1084,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5_3',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5_4',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -801,21 +1107,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_5_3-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_5_4-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (5)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5_3',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_5_4',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_6-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_6_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -829,7 +1135,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_6',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_6_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -852,21 +1158,21 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_6-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_6_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (6)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_6',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_6_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_7-entry]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_7_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -880,7 +1186,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'button',
|
||||
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_7',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_7_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -903,14 +1209,14 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_7-state]
|
||||
# name: test_buttons[aqara_light_switch_h2_us_4101][button.aqara_smart_wall_switch_identify_7_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'identify',
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Identify (7)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_7',
|
||||
'entity_id': 'button.aqara_smart_wall_switch_identify_7_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
|
||||
@@ -1,4 +1,44 @@
|
||||
# serializer version: 1
|
||||
# name: test_multi_endpoint_device_topology[aqara_light_switch_h2_eu_4105]
|
||||
dict({
|
||||
'00000000000004D2-0000000000000050-MatterNodeDevice': dict({
|
||||
'children': dict({
|
||||
}),
|
||||
'entities': dict({
|
||||
'binary_sensor.aqara_smart_wall_switch_hardware_faults': 'Hardware faults',
|
||||
'button.aqara_smart_wall_switch_identify_1': 'Identify (1)',
|
||||
'button.aqara_smart_wall_switch_identify_2': 'Identify (2)',
|
||||
'button.aqara_smart_wall_switch_identify_4': 'Identify (4)',
|
||||
'button.aqara_smart_wall_switch_identify_5': 'Identify (5)',
|
||||
'button.aqara_smart_wall_switch_identify_6': 'Identify (6)',
|
||||
'button.aqara_smart_wall_switch_identify_7': 'Identify (7)',
|
||||
'event.aqara_smart_wall_switch_button_4': 'Button (4)',
|
||||
'event.aqara_smart_wall_switch_button_5': 'Button (5)',
|
||||
'event.aqara_smart_wall_switch_button_6': 'Button (6)',
|
||||
'event.aqara_smart_wall_switch_button_7': 'Button (7)',
|
||||
'light.aqara_smart_wall_switch_light_1': 'Light (1)',
|
||||
'light.aqara_smart_wall_switch_light_2': 'Light (2)',
|
||||
'select.aqara_smart_wall_switch_power_on_behavior_1': 'Power-on behavior (1)',
|
||||
'select.aqara_smart_wall_switch_power_on_behavior_2': 'Power-on behavior (2)',
|
||||
'sensor.aqara_smart_wall_switch_active_current': 'Active current',
|
||||
'sensor.aqara_smart_wall_switch_boot_reason': 'Boot reason',
|
||||
'sensor.aqara_smart_wall_switch_current_switch_position_4': 'Current switch position (4)',
|
||||
'sensor.aqara_smart_wall_switch_current_switch_position_5': 'Current switch position (5)',
|
||||
'sensor.aqara_smart_wall_switch_current_switch_position_6': 'Current switch position (6)',
|
||||
'sensor.aqara_smart_wall_switch_current_switch_position_7': 'Current switch position (7)',
|
||||
'sensor.aqara_smart_wall_switch_energy': 'Energy',
|
||||
'sensor.aqara_smart_wall_switch_reboot_count': 'Reboot count',
|
||||
'sensor.aqara_smart_wall_switch_thread_channel': 'Thread channel',
|
||||
'sensor.aqara_smart_wall_switch_thread_network_name': 'Thread network name',
|
||||
'sensor.aqara_smart_wall_switch_thread_routing_role': 'Thread routing role',
|
||||
'sensor.aqara_smart_wall_switch_uptime': 'Uptime',
|
||||
'update.aqara_smart_wall_switch_firmware': 'Firmware',
|
||||
}),
|
||||
'name': 'Aqara Smart Wall Switch',
|
||||
'via_device': None,
|
||||
}),
|
||||
})
|
||||
# ---
|
||||
# name: test_multi_endpoint_device_topology[aqara_light_switch_h2_us_4099]
|
||||
dict({
|
||||
'00000000000004D2-00000000000003F6-MatterNodeDevice': dict({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# serializer version: 1
|
||||
# name: test_events[aqara_light_switch_h2_us_4099][event.aqara_smart_wall_switch_button_4-entry]
|
||||
# name: test_events[aqara_light_switch_h2_eu_4105][event.aqara_smart_wall_switch_button_4-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -13,7 +13,7 @@
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F6-MatterNodeDevice'), ('matter', 'serial_serial_1014')]>,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
@@ -36,11 +36,11 @@
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-4-GenericSwitch-59-1',
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-4-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4099][event.aqara_smart_wall_switch_button_4-state]
|
||||
# name: test_events[aqara_light_switch_h2_eu_4105][event.aqara_smart_wall_switch_button_4-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
@@ -58,7 +58,7 @@
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4099][event.aqara_smart_wall_switch_button_5-entry]
|
||||
# name: test_events[aqara_light_switch_h2_eu_4105][event.aqara_smart_wall_switch_button_5-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -72,7 +72,7 @@
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F6-MatterNodeDevice'), ('matter', 'serial_serial_1014')]>,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
@@ -95,11 +95,11 @@
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-5-GenericSwitch-59-1',
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-5-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4099][event.aqara_smart_wall_switch_button_5-state]
|
||||
# name: test_events[aqara_light_switch_h2_eu_4105][event.aqara_smart_wall_switch_button_5-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
@@ -117,7 +117,7 @@
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4100][event.aqara_smart_wall_switch_button_4_2-entry]
|
||||
# name: test_events[aqara_light_switch_h2_eu_4105][event.aqara_smart_wall_switch_button_6-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -131,243 +131,7 @@
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F7-MatterNodeDevice'), ('matter', 'serial_serial_1015')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_4_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (4)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (4)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F7-MatterNodeDevice-4-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4100][event.aqara_smart_wall_switch_button_4_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (4)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_4_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4100][event.aqara_smart_wall_switch_button_5_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F7-MatterNodeDevice'), ('matter', 'serial_serial_1015')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_5_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (5)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (5)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F7-MatterNodeDevice-5-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4100][event.aqara_smart_wall_switch_button_5_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (5)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_5_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_4_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F8-MatterNodeDevice'), ('matter', 'serial_serial_1016')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_4_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (4)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (4)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F8-MatterNodeDevice-4-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_4_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (4)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_4_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_5_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F8-MatterNodeDevice'), ('matter', 'serial_serial_1016')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_5_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (5)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (5)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F8-MatterNodeDevice-5-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_5_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (5)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_5_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_6-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F8-MatterNodeDevice'), ('matter', 'serial_serial_1016')]>,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
@@ -390,11 +154,11 @@
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F8-MatterNodeDevice-6-GenericSwitch-59-1',
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-6-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_6-state]
|
||||
# name: test_events[aqara_light_switch_h2_eu_4105][event.aqara_smart_wall_switch_button_6-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
@@ -412,7 +176,7 @@
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_7-entry]
|
||||
# name: test_events[aqara_light_switch_h2_eu_4105][event.aqara_smart_wall_switch_button_7-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -426,7 +190,7 @@
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F8-MatterNodeDevice'), ('matter', 'serial_serial_1016')]>,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
@@ -449,11 +213,11 @@
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F8-MatterNodeDevice-7-GenericSwitch-59-1',
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-7-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_7-state]
|
||||
# name: test_events[aqara_light_switch_h2_eu_4105][event.aqara_smart_wall_switch_button_7-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
@@ -471,6 +235,478 @@
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4099][event.aqara_smart_wall_switch_button_4_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F6-MatterNodeDevice'), ('matter', 'serial_serial_1014')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_4_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (4)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (4)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-4-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4099][event.aqara_smart_wall_switch_button_4_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (4)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_4_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4099][event.aqara_smart_wall_switch_button_5_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F6-MatterNodeDevice'), ('matter', 'serial_serial_1014')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_5_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (5)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (5)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-5-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4099][event.aqara_smart_wall_switch_button_5_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (5)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_5_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4100][event.aqara_smart_wall_switch_button_4_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F7-MatterNodeDevice'), ('matter', 'serial_serial_1015')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_4_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (4)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (4)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F7-MatterNodeDevice-4-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4100][event.aqara_smart_wall_switch_button_4_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (4)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_4_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4100][event.aqara_smart_wall_switch_button_5_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F7-MatterNodeDevice'), ('matter', 'serial_serial_1015')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_5_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (5)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (5)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F7-MatterNodeDevice-5-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4100][event.aqara_smart_wall_switch_button_5_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (5)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_5_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_4_4-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F8-MatterNodeDevice'), ('matter', 'serial_serial_1016')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_4_4',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (4)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (4)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F8-MatterNodeDevice-4-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_4_4-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (4)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_4_4',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_5_4-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F8-MatterNodeDevice'), ('matter', 'serial_serial_1016')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_5_4',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (5)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (5)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F8-MatterNodeDevice-5-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_5_4-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (5)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_5_4',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_6_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F8-MatterNodeDevice'), ('matter', 'serial_serial_1016')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_6_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (6)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (6)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F8-MatterNodeDevice-6-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_6_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (6)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_6_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_7_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-00000000000003F8-MatterNodeDevice'), ('matter', 'serial_serial_1016')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'event',
|
||||
'entity_category': None,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_7_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Button (7)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <EventDeviceClass.BUTTON: 'button'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Button (7)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'button',
|
||||
'unique_id': '00000000000004D2-00000000000003F8-MatterNodeDevice-7-GenericSwitch-59-1',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_light_switch_h2_us_4101][event.aqara_smart_wall_switch_button_7_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'button',
|
||||
<EventEntityStateAttribute.EVENT_TYPE: 'event_type'>: None,
|
||||
<EventEntityCapabilityAttribute.EVENT_TYPES: 'event_types'>: list([
|
||||
'initial_press',
|
||||
]),
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Button (7)',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'event.aqara_smart_wall_switch_button_7_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_events[aqara_sensor_w100][event.climate_sensor_w100_button_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
|
||||
@@ -81,6 +81,124 @@
|
||||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_eu_4105][light.aqara_smart_wall_switch_light_1-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<LightEntityCapabilityAttribute.SUPPORTED_COLOR_MODES: 'supported_color_modes'>: list([
|
||||
<ColorMode.ONOFF: 'onoff'>,
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'light',
|
||||
'entity_category': None,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_1',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Light (1)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Light (1)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'light',
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-1-MatterLight-6-0',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_eu_4105][light.aqara_smart_wall_switch_light_1-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<LightEntityStateAttribute.COLOR_MODE: 'color_mode'>: <ColorMode.ONOFF: 'onoff'>,
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Light (1)',
|
||||
<LightEntityCapabilityAttribute.SUPPORTED_COLOR_MODES: 'supported_color_modes'>: list([
|
||||
<ColorMode.ONOFF: 'onoff'>,
|
||||
]),
|
||||
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <LightEntityFeature: 0>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_1',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_eu_4105][light.aqara_smart_wall_switch_light_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<LightEntityCapabilityAttribute.SUPPORTED_COLOR_MODES: 'supported_color_modes'>: list([
|
||||
<ColorMode.ONOFF: 'onoff'>,
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'light',
|
||||
'entity_category': None,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Light (2)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Light (2)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'light',
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-2-MatterLight-6-0',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_eu_4105][light.aqara_smart_wall_switch_light_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<LightEntityStateAttribute.COLOR_MODE: 'color_mode'>: None,
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Light (2)',
|
||||
<LightEntityCapabilityAttribute.SUPPORTED_COLOR_MODES: 'supported_color_modes'>: list([
|
||||
<ColorMode.ONOFF: 'onoff'>,
|
||||
]),
|
||||
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <LightEntityFeature: 0>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_us_4099][light.aqara_smart_wall_switch-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
@@ -140,7 +258,7 @@
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_us_4100][light.aqara_smart_wall_switch_light_1-entry]
|
||||
# name: test_lights[aqara_light_switch_h2_us_4100][light.aqara_smart_wall_switch_light_1_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -158,7 +276,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'light',
|
||||
'entity_category': None,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_1',
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_1_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -181,7 +299,7 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_us_4100][light.aqara_smart_wall_switch_light_1-state]
|
||||
# name: test_lights[aqara_light_switch_h2_us_4100][light.aqara_smart_wall_switch_light_1_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<LightEntityStateAttribute.COLOR_MODE: 'color_mode'>: None,
|
||||
@@ -192,14 +310,14 @@
|
||||
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <LightEntityFeature: 0>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_1',
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_1_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_us_4100][light.aqara_smart_wall_switch_light_2-entry]
|
||||
# name: test_lights[aqara_light_switch_h2_us_4100][light.aqara_smart_wall_switch_light_2_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -217,7 +335,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'light',
|
||||
'entity_category': None,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_2',
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_2_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -240,7 +358,7 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_us_4100][light.aqara_smart_wall_switch_light_2-state]
|
||||
# name: test_lights[aqara_light_switch_h2_us_4100][light.aqara_smart_wall_switch_light_2_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<LightEntityStateAttribute.COLOR_MODE: 'color_mode'>: <ColorMode.ONOFF: 'onoff'>,
|
||||
@@ -251,14 +369,14 @@
|
||||
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <LightEntityFeature: 0>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_2',
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_2_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_us_4101][light.aqara_smart_wall_switch_light_1_2-entry]
|
||||
# name: test_lights[aqara_light_switch_h2_us_4101][light.aqara_smart_wall_switch_light_1_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -276,7 +394,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'light',
|
||||
'entity_category': None,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_1_2',
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_1_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -299,7 +417,7 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_us_4101][light.aqara_smart_wall_switch_light_1_2-state]
|
||||
# name: test_lights[aqara_light_switch_h2_us_4101][light.aqara_smart_wall_switch_light_1_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<LightEntityStateAttribute.COLOR_MODE: 'color_mode'>: None,
|
||||
@@ -310,14 +428,14 @@
|
||||
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <LightEntityFeature: 0>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_1_2',
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_1_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_us_4101][light.aqara_smart_wall_switch_light_2_2-entry]
|
||||
# name: test_lights[aqara_light_switch_h2_us_4101][light.aqara_smart_wall_switch_light_2_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -335,7 +453,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'light',
|
||||
'entity_category': None,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_2_2',
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_2_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -358,7 +476,7 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_lights[aqara_light_switch_h2_us_4101][light.aqara_smart_wall_switch_light_2_2-state]
|
||||
# name: test_lights[aqara_light_switch_h2_us_4101][light.aqara_smart_wall_switch_light_2_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<LightEntityStateAttribute.COLOR_MODE: 'color_mode'>: <ColorMode.ONOFF: 'onoff'>,
|
||||
@@ -369,7 +487,7 @@
|
||||
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <LightEntityFeature: 0>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_2_2',
|
||||
'entity_id': 'light.aqara_smart_wall_switch_light_2_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
|
||||
@@ -186,6 +186,132 @@
|
||||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_eu_4105][select.aqara_smart_wall_switch_power_on_behavior_1-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<SelectEntityCapabilityAttribute.OPTIONS: 'options'>: list([
|
||||
'on',
|
||||
'off',
|
||||
'toggle',
|
||||
'previous',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'select',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Power-on behavior (1)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Power-on behavior (1)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'startup_on_off',
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-1-MatterStartUpOnOff-6-16387',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_eu_4105][select.aqara_smart_wall_switch_power_on_behavior_1-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Power-on behavior (1)',
|
||||
<SelectEntityCapabilityAttribute.OPTIONS: 'options'>: list([
|
||||
'on',
|
||||
'off',
|
||||
'toggle',
|
||||
'previous',
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'previous',
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_eu_4105][select.aqara_smart_wall_switch_power_on_behavior_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
]),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
<SelectEntityCapabilityAttribute.OPTIONS: 'options'>: list([
|
||||
'on',
|
||||
'off',
|
||||
'toggle',
|
||||
'previous',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': None,
|
||||
'device_class': None,
|
||||
'device_id': <DeviceEntry identifiers=[('matter', 'deviceid_00000000000004D2-0000000000000050-MatterNodeDevice'), ('matter', 'serial_serial_80')]>,
|
||||
'disabled_by': None,
|
||||
'domain': 'select',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'object_id_base': 'Power-on behavior (2)',
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Power-on behavior (2)',
|
||||
'platform': 'matter',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'startup_on_off',
|
||||
'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-2-MatterStartUpOnOff-6-16387',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_eu_4105][select.aqara_smart_wall_switch_power_on_behavior_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Power-on behavior (2)',
|
||||
<SelectEntityCapabilityAttribute.OPTIONS: 'options'>: list([
|
||||
'on',
|
||||
'off',
|
||||
'toggle',
|
||||
'previous',
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'previous',
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_us_4099][select.aqara_smart_wall_switch_power_on_behavior-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
@@ -249,7 +375,7 @@
|
||||
'state': 'previous',
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_us_4100][select.aqara_smart_wall_switch_power_on_behavior_1-entry]
|
||||
# name: test_selects[aqara_light_switch_h2_us_4100][select.aqara_smart_wall_switch_power_on_behavior_1_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -270,7 +396,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'select',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1',
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -293,7 +419,7 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_us_4100][select.aqara_smart_wall_switch_power_on_behavior_1-state]
|
||||
# name: test_selects[aqara_light_switch_h2_us_4100][select.aqara_smart_wall_switch_power_on_behavior_1_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Power-on behavior (1)',
|
||||
@@ -305,14 +431,14 @@
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1',
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'previous',
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_us_4100][select.aqara_smart_wall_switch_power_on_behavior_2-entry]
|
||||
# name: test_selects[aqara_light_switch_h2_us_4100][select.aqara_smart_wall_switch_power_on_behavior_2_2-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -333,7 +459,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'select',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2',
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2_2',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -356,7 +482,7 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_us_4100][select.aqara_smart_wall_switch_power_on_behavior_2-state]
|
||||
# name: test_selects[aqara_light_switch_h2_us_4100][select.aqara_smart_wall_switch_power_on_behavior_2_2-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Power-on behavior (2)',
|
||||
@@ -368,14 +494,14 @@
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2',
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2_2',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'previous',
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_us_4101][select.aqara_smart_wall_switch_power_on_behavior_1_2-entry]
|
||||
# name: test_selects[aqara_light_switch_h2_us_4101][select.aqara_smart_wall_switch_power_on_behavior_1_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -396,7 +522,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'select',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1_2',
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -419,7 +545,7 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_us_4101][select.aqara_smart_wall_switch_power_on_behavior_1_2-state]
|
||||
# name: test_selects[aqara_light_switch_h2_us_4101][select.aqara_smart_wall_switch_power_on_behavior_1_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Power-on behavior (1)',
|
||||
@@ -431,14 +557,14 @@
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1_2',
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'previous',
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_us_4101][select.aqara_smart_wall_switch_power_on_behavior_2_2-entry]
|
||||
# name: test_selects[aqara_light_switch_h2_us_4101][select.aqara_smart_wall_switch_power_on_behavior_2_3-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': list([
|
||||
None,
|
||||
@@ -459,7 +585,7 @@
|
||||
'disabled_by': None,
|
||||
'domain': 'select',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2_2',
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2_3',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
@@ -482,7 +608,7 @@
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_selects[aqara_light_switch_h2_us_4101][select.aqara_smart_wall_switch_power_on_behavior_2_2-state]
|
||||
# name: test_selects[aqara_light_switch_h2_us_4101][select.aqara_smart_wall_switch_power_on_behavior_2_3-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Aqara Smart Wall Switch Power-on behavior (2)',
|
||||
@@ -494,7 +620,7 @@
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2_2',
|
||||
'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2_3',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -41,6 +41,7 @@ from .common import snapshot_matter_devices
|
||||
"aqara_light_switch_h2_us_4099",
|
||||
"aqara_light_switch_h2_us_4100",
|
||||
"aqara_light_switch_h2_us_4101",
|
||||
"aqara_light_switch_h2_eu_4105",
|
||||
"cync_keypad_dimmer",
|
||||
"dewenwils_3_zone_transformer",
|
||||
"ductech_smartwings_levitate",
|
||||
|
||||
Reference in New Issue
Block a user