From 8b47294d34d8997e4fdc207aa90cc1f52f5aaa08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Fri, 27 Nov 2026 22:52:02 +0100 Subject: [PATCH] Add test fixture for Aqara Light Switch H2 EU (#195099) Co-authored-by: Claude Sonnet 5 --- tests/components/matter/common.py | 1 + .../nodes/aqara_light_switch_h2_eu_4105.json | 648 ++++++++++++ .../matter/snapshots/test_button.ambr | 410 +++++++- .../matter/snapshots/test_device.ambr | 40 + .../matter/snapshots/test_event.ambr | 740 +++++++++----- .../matter/snapshots/test_light.ambr | 150 ++- .../matter/snapshots/test_select.ambr | 158 ++- .../matter/snapshots/test_sensor.ambr | 938 +++++++++++++++--- tests/components/matter/test_device.py | 1 + 9 files changed, 2621 insertions(+), 465 deletions(-) create mode 100644 tests/components/matter/fixtures/nodes/aqara_light_switch_h2_eu_4105.json diff --git a/tests/components/matter/common.py b/tests/components/matter/common.py index f5fec1fa1e83..d914b0262dde 100644 --- a/tests/components/matter/common.py +++ b/tests/components/matter/common.py @@ -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", diff --git a/tests/components/matter/fixtures/nodes/aqara_light_switch_h2_eu_4105.json b/tests/components/matter/fixtures/nodes/aqara_light_switch_h2_eu_4105.json new file mode 100644 index 000000000000..b74a37a3a120 --- /dev/null +++ b/tests/components/matter/fixtures/nodes/aqara_light_switch_h2_eu_4105.json @@ -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": [] +} diff --git a/tests/components/matter/snapshots/test_button.ambr b/tests/components/matter/snapshots/test_button.ambr index 87cb87ebafc4..e542e6bd0956 100644 --- a/tests/components/matter/snapshots/test_button.ambr +++ b/tests/components/matter/snapshots/test_button.ambr @@ -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': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_1', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify (1)', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Identify (1)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '00000000000004D2-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({ + : 'identify', + : 'Aqara Smart Wall Switch Identify (1)', + }), + 'context': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_1', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify (2)', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Identify (2)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '00000000000004D2-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({ + : 'identify', + : 'Aqara Smart Wall Switch Identify (2)', + }), + 'context': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_4', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify (4)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'identify', + : 'Aqara Smart Wall Switch Identify (4)', + }), + 'context': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_4', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_5', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify (5)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'identify', + : 'Aqara Smart Wall Switch Identify (5)', + }), + 'context': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_5', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_6', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify (6)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'identify', + : 'Aqara Smart Wall Switch Identify (6)', + }), + 'context': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_6', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_7', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify (7)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'identify', + : 'Aqara Smart Wall Switch Identify (7)', + }), + 'context': , + 'entity_id': 'button.aqara_smart_wall_switch_identify_7', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (1)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_1', + 'entity_id': 'button.aqara_smart_wall_switch_identify_1_2', 'last_changed': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (4)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_4', + 'entity_id': 'button.aqara_smart_wall_switch_identify_4_2', 'last_changed': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (5)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_5', + 'entity_id': 'button.aqara_smart_wall_switch_identify_5_2', 'last_changed': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (1)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_1_2', + 'entity_id': 'button.aqara_smart_wall_switch_identify_1_3', 'last_changed': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (2)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_2', + 'entity_id': 'button.aqara_smart_wall_switch_identify_2_2', 'last_changed': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (4)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_4_2', + 'entity_id': 'button.aqara_smart_wall_switch_identify_4_3', 'last_changed': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (5)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_5_2', + 'entity_id': 'button.aqara_smart_wall_switch_identify_5_3', 'last_changed': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (1)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_1_3', + 'entity_id': 'button.aqara_smart_wall_switch_identify_1_4', 'last_changed': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (2)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_2_2', + 'entity_id': 'button.aqara_smart_wall_switch_identify_2_3', 'last_changed': , 'last_reported': , 'last_updated': , @@ -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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (4)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_4_3', + 'entity_id': 'button.aqara_smart_wall_switch_identify_4_4', 'last_changed': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (5)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_5_3', + 'entity_id': 'button.aqara_smart_wall_switch_identify_5_4', 'last_changed': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (6)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_6', + 'entity_id': 'button.aqara_smart_wall_switch_identify_6_2', 'last_changed': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'identify', : 'Aqara Smart Wall Switch Identify (7)', }), 'context': , - 'entity_id': 'button.aqara_smart_wall_switch_identify_7', + 'entity_id': 'button.aqara_smart_wall_switch_identify_7_2', 'last_changed': , 'last_reported': , 'last_updated': , diff --git a/tests/components/matter/snapshots/test_device.ambr b/tests/components/matter/snapshots/test_device.ambr index 6683b211a171..74ad70e64380 100644 --- a/tests/components/matter/snapshots/test_device.ambr +++ b/tests/components/matter/snapshots/test_device.ambr @@ -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({ diff --git a/tests/components/matter/snapshots/test_event.ambr b/tests/components/matter/snapshots/test_event.ambr index 58018324bf37..e23c97d6558d 100644 --- a/tests/components/matter/snapshots/test_event.ambr +++ b/tests/components/matter/snapshots/test_event.ambr @@ -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': , 'config_subentry_id': None, 'device_class': None, - 'device_id': , + 'device_id': , '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({ : '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': , 'config_subentry_id': None, 'device_class': None, - 'device_id': , + 'device_id': , '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({ : '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': , 'config_subentry_id': None, 'device_class': None, - 'device_id': , - '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': , - 'labels': set({ - }), - 'name': None, - 'object_id_base': 'Button (4)', - 'options': dict({ - }), - 'original_device_class': , - '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({ - : 'button', - : None, - : list([ - 'initial_press', - ]), - : 'Aqara Smart Wall Switch Button (4)', - }), - 'context': , - 'entity_id': 'event.aqara_smart_wall_switch_button_4_2', - 'last_changed': , - 'last_reported': , - 'last_updated': , - '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({ - : list([ - 'initial_press', - ]), - }), - 'config_entry_id': , - 'config_subentry_id': None, - 'device_class': None, - 'device_id': , - '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': , - 'labels': set({ - }), - 'name': None, - 'object_id_base': 'Button (5)', - 'options': dict({ - }), - 'original_device_class': , - '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({ - : 'button', - : None, - : list([ - 'initial_press', - ]), - : 'Aqara Smart Wall Switch Button (5)', - }), - 'context': , - 'entity_id': 'event.aqara_smart_wall_switch_button_5_2', - 'last_changed': , - 'last_reported': , - 'last_updated': , - '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({ - : list([ - 'initial_press', - ]), - }), - 'config_entry_id': , - 'config_subentry_id': None, - 'device_class': None, - 'device_id': , - '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': , - 'labels': set({ - }), - 'name': None, - 'object_id_base': 'Button (4)', - 'options': dict({ - }), - 'original_device_class': , - '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({ - : 'button', - : None, - : list([ - 'initial_press', - ]), - : 'Aqara Smart Wall Switch Button (4)', - }), - 'context': , - 'entity_id': 'event.aqara_smart_wall_switch_button_4_3', - 'last_changed': , - 'last_reported': , - 'last_updated': , - '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({ - : list([ - 'initial_press', - ]), - }), - 'config_entry_id': , - 'config_subentry_id': None, - 'device_class': None, - 'device_id': , - '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': , - 'labels': set({ - }), - 'name': None, - 'object_id_base': 'Button (5)', - 'options': dict({ - }), - 'original_device_class': , - '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({ - : 'button', - : None, - : list([ - 'initial_press', - ]), - : 'Aqara Smart Wall Switch Button (5)', - }), - 'context': , - 'entity_id': 'event.aqara_smart_wall_switch_button_5_3', - 'last_changed': , - 'last_reported': , - 'last_updated': , - '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({ - : list([ - 'initial_press', - ]), - }), - 'config_entry_id': , - 'config_subentry_id': None, - 'device_class': None, - 'device_id': , + 'device_id': , '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({ : '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': , 'config_subentry_id': None, 'device_class': None, - 'device_id': , + 'device_id': , '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({ : '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({ + : list([ + 'initial_press', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + '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': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Button (4)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'button', + : None, + : list([ + 'initial_press', + ]), + : 'Aqara Smart Wall Switch Button (4)', + }), + 'context': , + 'entity_id': 'event.aqara_smart_wall_switch_button_4_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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({ + : list([ + 'initial_press', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + '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': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Button (5)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'button', + : None, + : list([ + 'initial_press', + ]), + : 'Aqara Smart Wall Switch Button (5)', + }), + 'context': , + 'entity_id': 'event.aqara_smart_wall_switch_button_5_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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({ + : list([ + 'initial_press', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + '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': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Button (4)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'button', + : None, + : list([ + 'initial_press', + ]), + : 'Aqara Smart Wall Switch Button (4)', + }), + 'context': , + 'entity_id': 'event.aqara_smart_wall_switch_button_4_3', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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({ + : list([ + 'initial_press', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + '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': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Button (5)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'button', + : None, + : list([ + 'initial_press', + ]), + : 'Aqara Smart Wall Switch Button (5)', + }), + 'context': , + 'entity_id': 'event.aqara_smart_wall_switch_button_5_3', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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({ + : list([ + 'initial_press', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + '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': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Button (4)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'button', + : None, + : list([ + 'initial_press', + ]), + : 'Aqara Smart Wall Switch Button (4)', + }), + 'context': , + 'entity_id': 'event.aqara_smart_wall_switch_button_4_4', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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({ + : list([ + 'initial_press', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + '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': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Button (5)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'button', + : None, + : list([ + 'initial_press', + ]), + : 'Aqara Smart Wall Switch Button (5)', + }), + 'context': , + 'entity_id': 'event.aqara_smart_wall_switch_button_5_4', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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({ + : list([ + 'initial_press', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + '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': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Button (6)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'button', + : None, + : list([ + 'initial_press', + ]), + : 'Aqara Smart Wall Switch Button (6)', + }), + 'context': , + 'entity_id': 'event.aqara_smart_wall_switch_button_6_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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({ + : list([ + 'initial_press', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + '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': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Button (7)', + 'options': dict({ + }), + 'original_device_class': , + '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({ + : 'button', + : None, + : list([ + 'initial_press', + ]), + : 'Aqara Smart Wall Switch Button (7)', + }), + 'context': , + 'entity_id': 'event.aqara_smart_wall_switch_button_7_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- # name: test_events[aqara_sensor_w100][event.climate_sensor_w100_button_3-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ diff --git a/tests/components/matter/snapshots/test_light.ambr b/tests/components/matter/snapshots/test_light.ambr index f0b1274a7932..a00089597a7e 100644 --- a/tests/components/matter/snapshots/test_light.ambr +++ b/tests/components/matter/snapshots/test_light.ambr @@ -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({ + : list([ + , + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + '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': , + '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({ + : , + : 'Aqara Smart Wall Switch Light (1)', + : list([ + , + ]), + : , + }), + 'context': , + 'entity_id': 'light.aqara_smart_wall_switch_light_1', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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({ + : list([ + , + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + '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': , + '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({ + : None, + : 'Aqara Smart Wall Switch Light (2)', + : list([ + , + ]), + : , + }), + 'context': , + 'entity_id': 'light.aqara_smart_wall_switch_light_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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({ : None, @@ -192,14 +310,14 @@ : , }), 'context': , - 'entity_id': 'light.aqara_smart_wall_switch_light_1', + 'entity_id': 'light.aqara_smart_wall_switch_light_1_2', 'last_changed': , 'last_reported': , 'last_updated': , '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({ : , @@ -251,14 +369,14 @@ : , }), 'context': , - 'entity_id': 'light.aqara_smart_wall_switch_light_2', + 'entity_id': 'light.aqara_smart_wall_switch_light_2_2', 'last_changed': , 'last_reported': , 'last_updated': , '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({ : None, @@ -310,14 +428,14 @@ : , }), 'context': , - 'entity_id': 'light.aqara_smart_wall_switch_light_1_2', + 'entity_id': 'light.aqara_smart_wall_switch_light_1_3', 'last_changed': , 'last_reported': , 'last_updated': , '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({ : , @@ -369,7 +487,7 @@ : , }), 'context': , - 'entity_id': 'light.aqara_smart_wall_switch_light_2_2', + 'entity_id': 'light.aqara_smart_wall_switch_light_2_3', 'last_changed': , 'last_reported': , 'last_updated': , diff --git a/tests/components/matter/snapshots/test_select.ambr b/tests/components/matter/snapshots/test_select.ambr index ad9827a0ad28..f814253e4de7 100644 --- a/tests/components/matter/snapshots/test_select.ambr +++ b/tests/components/matter/snapshots/test_select.ambr @@ -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({ + : list([ + 'on', + 'off', + 'toggle', + 'previous', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'select', + 'entity_category': , + 'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + '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({ + : 'Aqara Smart Wall Switch Power-on behavior (1)', + : list([ + 'on', + 'off', + 'toggle', + 'previous', + ]), + }), + 'context': , + 'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_1', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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({ + : list([ + 'on', + 'off', + 'toggle', + 'previous', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'select', + 'entity_category': , + 'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + '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({ + : 'Aqara Smart Wall Switch Power-on behavior (2)', + : list([ + 'on', + 'off', + 'toggle', + 'previous', + ]), + }), + 'context': , + 'entity_id': 'select.aqara_smart_wall_switch_power_on_behavior_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + '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': , - '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({ : 'Aqara Smart Wall Switch Power-on behavior (1)', @@ -305,14 +431,14 @@ ]), }), 'context': , - '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': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'Aqara Smart Wall Switch Power-on behavior (2)', @@ -368,14 +494,14 @@ ]), }), 'context': , - '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': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'Aqara Smart Wall Switch Power-on behavior (1)', @@ -431,14 +557,14 @@ ]), }), 'context': , - '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': , 'last_reported': , 'last_updated': , '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': , - '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({ : 'Aqara Smart Wall Switch Power-on behavior (2)', @@ -494,7 +620,7 @@ ]), }), 'context': , - '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': , 'last_reported': , 'last_updated': , diff --git a/tests/components/matter/snapshots/test_sensor.ambr b/tests/components/matter/snapshots/test_sensor.ambr index 194d04c0d485..3839d1d56b36 100644 --- a/tests/components/matter/snapshots/test_sensor.ambr +++ b/tests/components/matter/snapshots/test_sensor.ambr @@ -1582,7 +1582,7 @@ 'state': '2024-12-01T02:48:06+00:00', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_active_current-entry] +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_active_current-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -1594,7 +1594,7 @@ 'config_entry_id': , 'config_subentry_id': None, 'device_class': None, - 'device_id': , + 'device_id': , 'disabled_by': None, 'domain': 'sensor', 'entity_category': , @@ -1623,11 +1623,11 @@ 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'active_current', - 'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-0-ElectricalPowerMeasurementActiveCurrent-144-5', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-0-ElectricalPowerMeasurementActiveCurrent-144-5', 'unit_of_measurement': , }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_active_current-state] +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_active_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'current', @@ -1640,10 +1640,10 @@ 'last_changed': , 'last_reported': , 'last_updated': , - 'state': '0.037', + 'state': 'unknown', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_boot_reason-entry] +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_boot_reason-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -1663,7 +1663,7 @@ 'config_entry_id': , 'config_subentry_id': None, 'device_class': None, - 'device_id': , + 'device_id': , 'disabled_by': None, 'domain': 'sensor', 'entity_category': , @@ -1686,11 +1686,11 @@ 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'boot_reason', - 'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-0-GeneralDiagnosticsBootReason-51-4', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-0-GeneralDiagnosticsBootReason-51-4', 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_boot_reason-state] +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'enum', @@ -1713,7 +1713,7 @@ 'state': 'power_on_reboot', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_current_switch_position_4-entry] +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_current_switch_position_4-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -1725,7 +1725,7 @@ 'config_entry_id': , 'config_subentry_id': None, 'device_class': None, - 'device_id': , + 'device_id': , 'disabled_by': None, 'domain': 'sensor', 'entity_category': , @@ -1748,11 +1748,11 @@ 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'switch_current_position', - 'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-4-SwitchCurrentPosition-59-1', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-4-SwitchCurrentPosition-59-1', 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_current_switch_position_4-state] +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_current_switch_position_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Current switch position (4)', @@ -1766,7 +1766,7 @@ 'state': '0', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_current_switch_position_5-entry] +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_current_switch_position_5-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -1778,7 +1778,7 @@ 'config_entry_id': , 'config_subentry_id': None, 'device_class': None, - 'device_id': , + 'device_id': , 'disabled_by': None, 'domain': 'sensor', 'entity_category': , @@ -1801,11 +1801,11 @@ 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'switch_current_position', - 'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-5-SwitchCurrentPosition-59-1', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-5-SwitchCurrentPosition-59-1', 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_current_switch_position_5-state] +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_current_switch_position_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Current switch position (5)', @@ -1819,7 +1819,113 @@ 'state': '0', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_energy-entry] +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_current_switch_position_6-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_6', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Current switch position (6)', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Current switch position (6)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'switch_current_position', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-6-SwitchCurrentPosition-59-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_current_switch_position_6-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Smart Wall Switch Current switch position (6)', + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_6', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_current_switch_position_7-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_7', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Current switch position (7)', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Current switch position (7)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'switch_current_position', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-7-SwitchCurrentPosition-59-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_current_switch_position_7-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Smart Wall Switch Current switch position (7)', + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_7', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_energy-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -1831,7 +1937,7 @@ 'config_entry_id': , 'config_subentry_id': None, 'device_class': None, - 'device_id': , + 'device_id': , 'disabled_by': None, 'domain': 'sensor', 'entity_category': None, @@ -1860,11 +1966,11 @@ 'suggested_object_id': None, 'supported_features': 0, 'translation_key': None, - 'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-0-ElectricalEnergyMeasurementCumulativeEnergyImported-145-1', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-0-ElectricalEnergyMeasurementCumulativeEnergyImported-145-1', 'unit_of_measurement': , }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_energy-state] +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'energy', @@ -1877,6 +1983,580 @@ 'last_changed': , 'last_reported': , 'last_updated': , + 'state': '0.0', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_reboot_count-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reboot count', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reboot count', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reboot_count', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-0-GeneralDiagnosticsRebootCount-51-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_reboot_count-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Smart Wall Switch Reboot count', + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_thread_channel-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Thread channel', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Thread channel', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'thread_channel', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-0-ThreadDiagnosticsChannel-53-0', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_thread_channel-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Smart Wall Switch Thread channel', + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '25', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_thread_network_name-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Thread network name', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Thread network name', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'thread_network_name', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-0-ThreadDiagnosticsNetworkName-53-2', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_thread_network_name-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Smart Wall Switch Thread network name', + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'TestNetwork', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_thread_routing_role-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : list([ + 'unspecified', + 'unassigned', + 'sleepy_end_device', + 'end_device', + 'reed', + 'router', + 'leader', + 'unknown', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Thread routing role', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Thread routing role', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'thread_routing_role', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-0-ThreadDiagnosticsRoutingRole-53-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_thread_routing_role-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'enum', + : 'Aqara Smart Wall Switch Thread routing role', + : list([ + 'unspecified', + 'unassigned', + 'sleepy_end_device', + 'end_device', + 'reed', + 'router', + 'leader', + 'unknown', + ]), + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'router', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_uptime-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_smart_wall_switch_uptime', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Uptime', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Uptime', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'uptime', + 'unique_id': '00000000000004D2-0000000000000050-MatterNodeDevice-0-GeneralDiagnosticsUpTime-51-2', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_light_switch_h2_eu_4105][sensor.aqara_smart_wall_switch_uptime-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'uptime', + : 'Aqara Smart Wall Switch Uptime', + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_uptime', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2025-01-01T13:50:26+00:00', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_active_current_2-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_smart_wall_switch_active_current_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Active current', + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 2, + }), + 'sensor.private': dict({ + 'suggested_unit_of_measurement': , + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Active current', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'active_current', + 'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-0-ElectricalPowerMeasurementActiveCurrent-144-5', + 'unit_of_measurement': , + }) +# --- +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_active_current_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'current', + : 'Aqara Smart Wall Switch Active current', + : , + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_active_current_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0.037', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_boot_reason_2-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : list([ + 'unspecified', + 'power_on_reboot', + 'brown_out_reset', + 'software_watchdog_reset', + 'hardware_watchdog_reset', + 'software_update_completed', + 'software_reset', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_smart_wall_switch_boot_reason_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Boot reason', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Boot reason', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'boot_reason', + 'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-0-GeneralDiagnosticsBootReason-51-4', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_boot_reason_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'enum', + : 'Aqara Smart Wall Switch Boot reason', + : list([ + 'unspecified', + 'power_on_reboot', + 'brown_out_reset', + 'software_watchdog_reset', + 'hardware_watchdog_reset', + 'software_update_completed', + 'software_reset', + ]), + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_boot_reason_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'power_on_reboot', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_current_switch_position_4_2-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_4_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Current switch position (4)', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Current switch position (4)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'switch_current_position', + 'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-4-SwitchCurrentPosition-59-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_current_switch_position_4_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Smart Wall Switch Current switch position (4)', + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_4_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_current_switch_position_5_2-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_5_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Current switch position (5)', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Current switch position (5)', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'switch_current_position', + 'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-5-SwitchCurrentPosition-59-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_current_switch_position_5_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'Aqara Smart Wall Switch Current switch position (5)', + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_5_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0', + }) +# --- +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_energy_2-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': None, + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.aqara_smart_wall_switch_energy_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Energy', + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 3, + }), + 'sensor.private': dict({ + 'suggested_unit_of_measurement': , + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Energy', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '00000000000004D2-00000000000003F6-MatterNodeDevice-0-ElectricalEnergyMeasurementCumulativeEnergyImported-145-1', + 'unit_of_measurement': , + }) +# --- +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_energy_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'energy', + : 'Aqara Smart Wall Switch Energy', + : , + : , + }), + 'context': , + 'entity_id': 'sensor.aqara_smart_wall_switch_energy_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , 'state': '0.0322', }) # --- @@ -1941,7 +2621,7 @@ 'state': '0.0', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_reboot_count-entry] +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_reboot_count_2-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -1957,7 +2637,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count', + 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count_2', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -1980,21 +2660,21 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_reboot_count-state] +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_reboot_count_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Reboot count', : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count', + 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count_2', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '2', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_channel-entry] +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_channel_2-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2008,7 +2688,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel_2', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2031,20 +2711,20 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_channel-state] +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_channel_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Thread channel', }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel_2', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '15', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_network_name-entry] +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_network_name_2-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2058,7 +2738,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name_2', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2081,20 +2761,20 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_network_name-state] +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_network_name_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Thread network name', }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name_2', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'home-assistant', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_routing_role-entry] +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_routing_role_2-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2119,7 +2799,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role_2', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2142,7 +2822,7 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_routing_role-state] +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_thread_routing_role_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'enum', @@ -2159,14 +2839,14 @@ ]), }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role_2', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'reed', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_uptime-entry] +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_uptime_2-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2180,7 +2860,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_uptime', + 'entity_id': 'sensor.aqara_smart_wall_switch_uptime_2', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2203,21 +2883,21 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_uptime-state] +# name: test_sensors[aqara_light_switch_h2_us_4099][sensor.aqara_smart_wall_switch_uptime_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'uptime', : 'Aqara Smart Wall Switch Uptime', }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_uptime', + 'entity_id': 'sensor.aqara_smart_wall_switch_uptime_2', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '2024-12-06T19:32:31+00:00', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_active_current_2-entry] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_active_current_3-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2233,7 +2913,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_active_current_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_active_current_3', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2262,7 +2942,7 @@ 'unit_of_measurement': , }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_active_current_2-state] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_active_current_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'current', @@ -2271,14 +2951,14 @@ : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_active_current_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_active_current_3', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '0.054', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_boot_reason_2-entry] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_boot_reason_3-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2302,7 +2982,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_boot_reason_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_boot_reason_3', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2325,7 +3005,7 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_boot_reason_2-state] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_boot_reason_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'enum', @@ -2341,14 +3021,14 @@ ]), }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_boot_reason_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_boot_reason_3', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'software_reset', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_current_switch_position_4_2-entry] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_current_switch_position_4_3-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2364,7 +3044,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_4_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_4_3', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2387,21 +3067,21 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_current_switch_position_4_2-state] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_current_switch_position_4_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Current switch position (4)', : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_4_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_4_3', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '0', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_current_switch_position_5_2-entry] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_current_switch_position_5_3-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2417,7 +3097,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_5_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_5_3', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2440,21 +3120,21 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_current_switch_position_5_2-state] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_current_switch_position_5_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Current switch position (5)', : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_5_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_5_3', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '0', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_energy_2-entry] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_energy_3-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2470,7 +3150,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': None, - 'entity_id': 'sensor.aqara_smart_wall_switch_energy_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_energy_3', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2499,7 +3179,7 @@ 'unit_of_measurement': , }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_energy_2-state] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_energy_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'energy', @@ -2508,7 +3188,7 @@ : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_energy_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_energy_3', 'last_changed': , 'last_reported': , 'last_updated': , @@ -2576,7 +3256,7 @@ 'state': '3.0', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_reboot_count_2-entry] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_reboot_count_3-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2592,7 +3272,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count_3', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2615,21 +3295,21 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_reboot_count_2-state] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_reboot_count_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Reboot count', : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count_3', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '1', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_channel_2-entry] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_channel_3-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2643,7 +3323,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel_3', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2666,20 +3346,20 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_channel_2-state] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_channel_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Thread channel', }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel_3', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '15', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_network_name_2-entry] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_network_name_3-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2693,7 +3373,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name_3', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2716,20 +3396,20 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_network_name_2-state] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_network_name_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Thread network name', }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name_3', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'home-assistant', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_routing_role_2-entry] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_routing_role_3-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2754,7 +3434,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role_3', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2777,7 +3457,7 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_routing_role_2-state] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_thread_routing_role_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'enum', @@ -2794,14 +3474,14 @@ ]), }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role_3', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'reed', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_uptime_2-entry] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_uptime_3-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2815,7 +3495,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_uptime_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_uptime_3', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2838,21 +3518,21 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_uptime_2-state] +# name: test_sensors[aqara_light_switch_h2_us_4100][sensor.aqara_smart_wall_switch_uptime_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'uptime', : 'Aqara Smart Wall Switch Uptime', }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_uptime_2', + 'entity_id': 'sensor.aqara_smart_wall_switch_uptime_3', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '2025-01-01T13:55:50+00:00', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_active_current_3-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_active_current_4-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2868,7 +3548,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_active_current_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_active_current_4', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2897,7 +3577,7 @@ 'unit_of_measurement': , }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_active_current_3-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_active_current_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'current', @@ -2906,14 +3586,14 @@ : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_active_current_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_active_current_4', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '0.053', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_boot_reason_3-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_boot_reason_4-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2937,7 +3617,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_boot_reason_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_boot_reason_4', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -2960,7 +3640,7 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_boot_reason_3-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_boot_reason_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'enum', @@ -2976,14 +3656,14 @@ ]), }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_boot_reason_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_boot_reason_4', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'software_reset', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_4_3-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_4_4-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -2999,7 +3679,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_4_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_4_4', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -3022,21 +3702,21 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_4_3-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_4_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Current switch position (4)', : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_4_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_4_4', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '0', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_5_3-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_5_4-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -3052,7 +3732,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_5_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_5_4', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -3075,21 +3755,21 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_5_3-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_5_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Current switch position (5)', : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_5_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_5_4', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '0', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_6-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_6_2-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -3105,7 +3785,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_6', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_6_2', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -3128,21 +3808,21 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_6-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_6_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Current switch position (6)', : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_6', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_6_2', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '0', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_7-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_7_2-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -3158,7 +3838,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_7', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_7_2', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -3181,21 +3861,21 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_7-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_current_switch_position_7_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Current switch position (7)', : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_7', + 'entity_id': 'sensor.aqara_smart_wall_switch_current_switch_position_7_2', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '0', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_energy_3-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_energy_4-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -3211,7 +3891,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': None, - 'entity_id': 'sensor.aqara_smart_wall_switch_energy_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_energy_4', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -3240,7 +3920,7 @@ 'unit_of_measurement': , }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_energy_3-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_energy_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'energy', @@ -3249,7 +3929,7 @@ : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_energy_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_energy_4', 'last_changed': , 'last_reported': , 'last_updated': , @@ -3317,7 +3997,7 @@ 'state': '3.0', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_reboot_count_3-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_reboot_count_4-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -3333,7 +4013,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count_4', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -3356,21 +4036,21 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_reboot_count_3-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_reboot_count_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Reboot count', : , }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_reboot_count_4', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '1', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_channel_3-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_channel_4-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -3384,7 +4064,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel_4', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -3407,20 +4087,20 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_channel_3-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_channel_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Thread channel', }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_channel_4', 'last_changed': , 'last_reported': , 'last_updated': , 'state': '15', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_network_name_3-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_network_name_4-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -3434,7 +4114,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name_4', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -3457,20 +4137,20 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_network_name_3-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_network_name_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Aqara Smart Wall Switch Thread network name', }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_network_name_4', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'home-assistant', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_routing_role_3-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_routing_role_4-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -3495,7 +4175,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role_4', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -3518,7 +4198,7 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_routing_role_3-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_thread_routing_role_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'enum', @@ -3535,14 +4215,14 @@ ]), }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_thread_routing_role_4', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'reed', }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_uptime_3-entry] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_uptime_4-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -3556,7 +4236,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': , - 'entity_id': 'sensor.aqara_smart_wall_switch_uptime_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_uptime_4', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -3579,14 +4259,14 @@ 'unit_of_measurement': None, }) # --- -# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_uptime_3-state] +# name: test_sensors[aqara_light_switch_h2_us_4101][sensor.aqara_smart_wall_switch_uptime_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ : 'uptime', : 'Aqara Smart Wall Switch Uptime', }), 'context': , - 'entity_id': 'sensor.aqara_smart_wall_switch_uptime_3', + 'entity_id': 'sensor.aqara_smart_wall_switch_uptime_4', 'last_changed': , 'last_reported': , 'last_updated': , diff --git a/tests/components/matter/test_device.py b/tests/components/matter/test_device.py index ccc13a74bf94..28b73e8d2abc 100644 --- a/tests/components/matter/test_device.py +++ b/tests/components/matter/test_device.py @@ -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",