From 0c0d6595d66d8ce090843007e79d21cba2ebdeb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Sat, 28 Mar 2026 15:20:51 +0100 Subject: [PATCH] Add Matter range hood fixture (#166743) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ludovic BOUÉ <132135057+lboue@users.noreply.github.com> --- tests/components/matter/common.py | 1 + .../fixtures/nodes/silabs_range_hood.json | 676 ++++++++++++++++++ .../matter/snapshots/test_button.ambr | 51 ++ .../components/matter/snapshots/test_fan.ambr | 63 ++ .../matter/snapshots/test_light.ambr | 59 ++ .../matter/snapshots/test_select.ambr | 63 ++ 6 files changed, 913 insertions(+) create mode 100644 tests/components/matter/fixtures/nodes/silabs_range_hood.json diff --git a/tests/components/matter/common.py b/tests/components/matter/common.py index c2e3c2fcec0c..96b42d63fd09 100644 --- a/tests/components/matter/common.py +++ b/tests/components/matter/common.py @@ -99,6 +99,7 @@ FIXTURES = [ "silabs_fan", "silabs_laundrywasher", "silabs_light_switch", + "silabs_range_hood", "silabs_refrigerator", "silabs_water_heater", "switchbot_k11_plus", diff --git a/tests/components/matter/fixtures/nodes/silabs_range_hood.json b/tests/components/matter/fixtures/nodes/silabs_range_hood.json new file mode 100644 index 000000000000..8fb77679d284 --- /dev/null +++ b/tests/components/matter/fixtures/nodes/silabs_range_hood.json @@ -0,0 +1,676 @@ +{ + "node_id": 114, + "date_commissioned": "2026-03-28T13:40:57.299000", + "last_interview": "2026-03-28T13:41:32.823000", + "interview_version": 6, + "available": true, + "is_bridge": false, + "attributes": { + "0/65/0": [], + "0/65/65533": 1, + "0/65/65532": 0, + "0/65/65531": [0, 65532, 65533, 65528, 65529, 65531], + "0/65/65529": [], + "0/65/65528": [], + "0/64/0": [], + "0/64/65533": 1, + "0/64/65532": 0, + "0/64/65531": [0, 65532, 65533, 65528, 65529, 65531], + "0/64/65529": [], + "0/64/65528": [], + "0/63/0": [], + "0/63/1": [], + "0/63/2": 4, + "0/63/3": 3, + "0/63/65533": 2, + "0/63/65532": 0, + "0/63/65531": [0, 1, 2, 3, 65532, 65533, 65528, 65529, 65531], + "0/63/65529": [0, 1, 3, 4], + "0/63/65528": [5, 2], + "0/62/0": [ + { + "1": "FTABAQUkAgE3AyQTAhgmBFdVeS8mBdeLJkQ3BiQVAiQRchgkBwEkCAEwCUEEJOQ9kvNA6n0D7h8CVIGwLHqkyK1e16SizjGFxQXnlTPYX+2sFmp2ElaeNjEOaTKlQAtmUQCr7MPKb4gQnY1LVjcKNQEoARgkAgE2AwQCBAEYMAQU8zOoH6iO/qli6VOfyCglAd3NQlUwBRRa34d1hFPuca7UFWclq9cFnlPhShgwC0AFLtdLkSZTnoRLjiHfLIzlYc+GZeYZpvBZqheLaytsm3XrRvPFDELtX5SWUAv1VuKXcLKFwcQ/y7beTutRbieGGA==", + "2": "FTABAQEkAgE3AyQUARgmBIAigScmBYAlTTo3BiQTAhgkBwEkCAEwCUEEAV5qZprx2HWOKSP2iCzsI7A0CHgZVtbwsQ/y4ssETfB9z00733STIN0AfD552Vi1h6fJSeEg0/pA82bJL/y0azcKNQEpARgkAmAwBBRa34d1hFPuca7UFWclq9cFnlPhSjAFFG9oKFV1nAO5dx/+jKvq8o8oKcZbGDALQDD8OnB1NcHRxx387f9wZeFDYf32VZ3ZENQrlWBTQZqEKP+K6XjWmjTWttDEeW1kiNtB1T5ZBIaJUxVdqMuNQx8Y", + "254": 3 + } + ], + "0/62/1": [ + { + "1": "BG1FPaj8U/IZMJ0lkYRWnL7PNr67I7GmbKqrzOPKp92GWZkMLbxHskSpehAxMxW6nepQHWr+Eq9LLp7wy4CB7a4=", + "2": 4939, + "3": 2, + "4": 114, + "5": "ha", + "254": 3 + } + ], + "0/62/2": 5, + "0/62/3": 3, + "0/62/4": [ + "FTABAQAkAgE3AyYUyakYCSYVj6gLsxgmBH2IWjEkBQA3BiYUyakYCSYVj6gLsxgkBwEkCAEwCUEEgYwxrTB+tyiEGfrRwjlXTG34MiQtJXbg5Qqd0ohdRW7MfwYY7vZiX/0h9hI8MqUralFaVPcnghAP0MSJm1YrqTcKNQEpARgkAmAwBBS3BS9aJzt+p6i28Nj+trB2Uu+vdzAFFLcFL1onO36nqLbw2P62sHZS7693GDALQJ4lEwFc2hajQcqS2EERyUvKMaGClZUX11eBfZgrHewkwf3+xuFEUQ8duKOp0owZwSAiuYIJ8afw3R+dO6TGX54Y", + "FTABAQAkAgE3AycUQhmZbaIbYjokFQIYJgRWZLcqJAUANwYnFEIZmW2iG2I6JBUCGCQHASQIATAJQQT2AlKGW/kOMjqayzeO0md523/fuhrhGEUU91uQpTiKo0I7wcPpKnmrwfQNPX6g0kEQl+VGaXa3e22lzfu5Tzp0Nwo1ASkBGCQCYDAEFOOMk13ScMKuT2hlaydi1yEJnhTqMAUU44yTXdJwwq5PaGVrJ2LXIQmeFOoYMAtAv2jJd1qd5miXbYesH1XrJ+vgyY0hzGuZ78N6Jw4Cb1oN1sLSpA+PNM0u7+hsEqcSvvn2eSV8EaRR+hg5YQjHDxg=", + "FTABAQEkAgE3AyQUARgmBIAigScmBYAlTTo3BiQUARgkBwEkCAEwCUEEbUU9qPxT8hkwnSWRhFacvs82vrsjsaZsqqvM48qn3YZZmQwtvEeyRKl6EDEzFbqd6lAdav4Sr0sunvDLgIHtrjcKNQEpARgkAmAwBBRvaChVdZwDuXcf/oyr6vKPKCnGWzAFFG9oKFV1nAO5dx/+jKvq8o8oKcZbGDALQLa3jnnqN0/o6VG8wM4V9FDzrgDfKPd5cn3BBz77K80Jzo/aNotaTNOa6zX//yIvOkBZfGyq1Dh1vXZ4g2NKcXoY" + ], + "0/62/5": 3, + "0/62/65533": 2, + "0/62/65532": 0, + "0/62/65531": [0, 1, 2, 3, 4, 5, 65532, 65533, 65528, 65529, 65531], + "0/62/65529": [0, 2, 4, 6, 7, 9, 10, 11, 12, 13], + "0/62/65528": [1, 3, 5, 8, 14], + "0/60/0": 0, + "0/60/1": null, + "0/60/2": null, + "0/60/65533": 1, + "0/60/65532": 0, + "0/60/65531": [0, 1, 2, 65532, 65533, 65528, 65529, 65531], + "0/60/65529": [0, 2], + "0/60/65528": [], + "0/52/0": [ + { + "0": 10, + "1": "UART", + "3": 336 + }, + { + "0": 9, + "1": "Bluetoot", + "3": 1224 + }, + { + "0": 8, + "1": "Bluetoot", + "3": 600 + }, + { + "0": 7, + "1": "Bluetoot", + "3": 380 + }, + { + "0": 6, + "1": "shell", + "3": 1280 + }, + { + "0": 5, + "1": "OT Seria", + "3": 3664 + }, + { + "0": 4, + "1": "RangeHoo", + "3": 3076 + }, + { + "0": 3, + "1": "Tmr Svc", + "3": 1060 + }, + { + "0": 2, + "1": "IDLE", + "3": 1064 + }, + { + "0": 1, + "1": "OT Stack", + "3": 2848 + }, + { + "0": 0, + "1": "CHIP", + "3": 3096 + } + ], + "0/52/1": 103512, + "0/52/2": 26832, + "0/52/65533": 1, + "0/52/65532": 1, + "0/52/65531": [0, 1, 2, 3, 65532, 65533, 65528, 65529, 65531], + "0/52/65529": [0], + "0/52/65528": [], + "0/52/3": 36088, + "0/51/0": [ + { + "0": "MyHome", + "1": true, + "2": null, + "3": null, + "4": "XrM7nyFYrIQ=", + "5": [], + "6": [ + "/QANuACgAAAAAAD//gBsAA==", + "/VX8YmMnAAF4u+orFSYj+A==", + "/QANuACgAABiekSD+SLHxg==", + "/oAAAAAAAABcszufIVishA==" + ], + "7": 4 + } + ], + "0/51/1": 5, + "0/51/2": 118, + "0/51/3": 13, + "0/51/4": 1, + "0/51/5": [], + "0/51/6": [], + "0/51/7": [], + "0/51/8": false, + "0/51/65533": 2, + "0/51/65532": 0, + "0/51/65531": [ + 0, 1, 8, 3, 4, 5, 6, 7, 2, 65532, 65533, 65528, 65529, 65531 + ], + "0/51/65529": [0, 1], + "0/51/65528": [2], + "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/65533": 2, + "0/48/65532": 0, + "0/48/65531": [0, 1, 2, 3, 4, 65532, 65533, 65528, 65529, 65531], + "0/48/65529": [0, 2, 4], + "0/48/65528": [1, 3, 5], + "0/40/0": 19, + "0/40/1": "Silabs", + "0/40/2": 65521, + "0/40/3": "SL-RangeHood", + "0/40/4": 32773, + "0/40/5": "", + "0/40/6": "**REDACTED**", + "0/40/7": 1, + "0/40/8": "TEST_VERSION", + "0/40/9": 1, + "0/40/10": "1", + "0/40/11": "20200101", + "0/40/12": "", + "0/40/13": "", + "0/40/14": "", + "0/40/15": "", + "0/40/16": false, + "0/40/18": "CF23A858DDB010C9", + "0/40/19": { + "0": 3, + "1": 3 + }, + "0/40/21": 17104896, + "0/40/22": 1, + "0/40/24": 1, + "0/40/65533": 5, + "0/40/65532": 0, + "0/40/65531": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 19, 21, 22, 11, 12, 13, 14, 15, 16, 18, + 65532, 65533, 65528, 65529, 65531 + ], + "0/40/65529": [], + "0/40/65528": [], + "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/65533": 2, + "0/31/65532": 0, + "0/31/65531": [0, 2, 3, 4, 65532, 65533, 65528, 65529, 65531], + "0/31/65529": [], + "0/31/65528": [], + "0/29/0": [ + { + "0": 22, + "1": 1 + } + ], + "0/29/1": [65, 64, 63, 62, 60, 52, 51, 48, 40, 31, 29, 49, 42, 53], + "0/29/2": [41], + "0/29/3": [1, 2], + "0/29/65533": 3, + "0/29/65532": 0, + "0/29/65531": [0, 1, 2, 3, 65532, 65533, 65528, 65529, 65531], + "0/29/65529": [], + "0/29/65528": [], + "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/2": 10, + "0/49/3": 20, + "0/49/9": 10, + "0/49/10": 5, + "0/49/65533": 2, + "0/49/65532": 2, + "0/49/65531": [ + 0, 1, 4, 5, 6, 7, 2, 3, 9, 10, 65532, 65533, 65528, 65529, 65531 + ], + "0/49/65529": [0, 3, 4, 6, 8], + "0/49/65528": [1, 5, 7], + "0/42/0": [], + "0/42/1": true, + "0/42/2": 1, + "0/42/3": null, + "0/42/65533": 1, + "0/42/65532": 0, + "0/42/65531": [0, 1, 2, 3, 65532, 65533, 65528, 65529, 65531], + "0/42/65529": [0], + "0/42/65528": [], + "0/53/0": 25, + "0/53/1": 5, + "0/53/2": "MyHome", + "0/53/3": 4660, + "0/53/4": 12054125955590472924, + "0/53/5": "QP0ADbgAoAAA", + "0/53/7": [ + { + "0": 13438285129078731668, + "1": 21, + "2": 14336, + "3": 1004376, + "4": 210290, + "5": 1, + "6": -93, + "7": -91, + "8": 0, + "9": 0, + "10": true, + "11": true, + "12": true, + "13": false + }, + { + "0": 2202349555917590819, + "1": 17, + "2": 25600, + "3": 168304, + "4": 58526, + "5": 3, + "6": -67, + "7": -67, + "8": 26, + "9": 0, + "10": true, + "11": true, + "12": true, + "13": false + }, + { + "0": 10563246212816049995, + "1": 11, + "2": 26624, + "3": 1951226, + "4": 177215, + "5": 3, + "6": -37, + "7": -33, + "8": 0, + "9": 0, + "10": true, + "11": true, + "12": true, + "13": false + }, + { + "0": 18079024453762862237, + "1": 11, + "2": 31744, + "3": 3169619, + "4": 21445, + "5": 3, + "6": -39, + "7": -40, + "8": 11, + "9": 0, + "10": true, + "11": true, + "12": true, + "13": false + }, + { + "0": 14318601490803184919, + "1": 11, + "2": 33792, + "3": 3478972, + "4": 47143, + "5": 3, + "6": -41, + "7": -41, + "8": 0, + "9": 0, + "10": true, + "11": true, + "12": true, + "13": false + }, + { + "0": 6498271992183290326, + "1": 8, + "2": 40960, + "3": 363662, + "4": 47746, + "5": 3, + "6": -55, + "7": -56, + "8": 25, + "9": 0, + "10": true, + "11": true, + "12": true, + "13": false + }, + { + "0": 4206032556233211940, + "1": 11, + "2": 53248, + "3": 936980, + "4": 213306, + "5": 2, + "6": -82, + "7": -85, + "8": 0, + "9": 0, + "10": true, + "11": true, + "12": true, + "13": false + }, + { + "0": 8265194500311707858, + "1": 20, + "2": 58368, + "3": 126887, + "4": 48540, + "5": 3, + "6": -63, + "7": -64, + "8": 0, + "9": 0, + "10": true, + "11": true, + "12": true, + "13": false + } + ], + "0/53/8": [ + { + "0": 13438285129078731668, + "1": 14336, + "2": 14, + "3": 40, + "4": 2, + "5": 1, + "6": 2, + "7": 21, + "8": true, + "9": true + }, + { + "0": 2202349555917590819, + "1": 25600, + "2": 25, + "3": 40, + "4": 1, + "5": 3, + "6": 3, + "7": 17, + "8": true, + "9": true + }, + { + "0": 10563246212816049995, + "1": 26624, + "2": 26, + "3": 40, + "4": 1, + "5": 3, + "6": 3, + "7": 11, + "8": true, + "9": true + }, + { + "0": 6823863415041731716, + "1": 27648, + "2": 27, + "3": 63, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": true, + "9": false + }, + { + "0": 18079024453762862237, + "1": 31744, + "2": 31, + "3": 40, + "4": 1, + "5": 3, + "6": 3, + "7": 11, + "8": true, + "9": true + }, + { + "0": 14318601490803184919, + "1": 33792, + "2": 33, + "3": 40, + "4": 1, + "5": 3, + "6": 3, + "7": 11, + "8": true, + "9": true + }, + { + "0": 6498271992183290326, + "1": 40960, + "2": 40, + "3": 31, + "4": 1, + "5": 3, + "6": 3, + "7": 9, + "8": true, + "9": true + }, + { + "0": 12602498247788046175, + "1": 47104, + "2": 46, + "3": 40, + "4": 1, + "5": 0, + "6": 0, + "7": 17, + "8": true, + "9": false + }, + { + "0": 4206032556233211940, + "1": 53248, + "2": 52, + "3": 40, + "4": 2, + "5": 2, + "6": 2, + "7": 11, + "8": true, + "9": true + }, + { + "0": 8265194500311707858, + "1": 58368, + "2": 57, + "3": 40, + "4": 1, + "5": 3, + "6": 3, + "7": 20, + "8": true, + "9": true + } + ], + "0/53/9": 1664395405, + "0/53/10": 68, + "0/53/11": 227, + "0/53/12": 140, + "0/53/13": 31, + "0/53/56": 65536, + "0/53/57": 0, + "0/53/58": 0, + "0/53/59": { + "0": 672, + "1": 143 + }, + "0/53/60": "AB//4A==", + "0/53/61": { + "0": true, + "1": false, + "2": true, + "3": true, + "4": true, + "5": true, + "6": false, + "7": true, + "8": true, + "9": true, + "10": true, + "11": true + }, + "0/53/62": [], + "0/53/63": null, + "0/53/64": null, + "0/53/65533": 3, + "0/53/65532": 15, + "0/53/65531": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + 57, 58, 59, 60, 61, 62, 65532, 65533, 65528, 65529, 65531 + ], + "0/53/65529": [0], + "0/53/65528": [], + "0/53/6": 0, + "0/53/14": 1, + "0/53/15": 1, + "0/53/16": 1, + "0/53/17": 0, + "0/53/18": 1, + "0/53/19": 1, + "0/53/20": 0, + "0/53/21": 0, + "0/53/22": 651, + "0/53/23": 637, + "0/53/24": 14, + "0/53/25": 637, + "0/53/26": 636, + "0/53/27": 14, + "0/53/28": 651, + "0/53/29": 0, + "0/53/30": 0, + "0/53/31": 0, + "0/53/32": 0, + "0/53/33": 382, + "0/53/34": 1, + "0/53/35": 0, + "0/53/36": 113, + "0/53/37": 0, + "0/53/38": 0, + "0/53/39": 406, + "0/53/40": 266, + "0/53/41": 112, + "0/53/42": 369, + "0/53/43": 0, + "0/53/44": 0, + "0/53/45": 0, + "0/53/46": 0, + "0/53/47": 0, + "0/53/48": 0, + "0/53/49": 9, + "0/53/50": 0, + "0/53/51": 28, + "0/53/52": 0, + "0/53/53": 0, + "0/53/54": 0, + "0/53/55": 0, + "1/29/0": [ + { + "0": 122, + "1": 1 + } + ], + "1/29/1": [29, 514], + "1/29/2": [], + "1/29/3": [], + "1/29/65533": 3, + "1/29/65532": 0, + "1/29/65531": [0, 1, 2, 3, 65532, 65533, 65528, 65529, 65531], + "1/29/65529": [], + "1/29/65528": [], + "1/514/0": 0, + "1/514/1": 0, + "1/514/2": 0, + "1/514/3": 0, + "1/514/65533": 5, + "1/514/65532": 0, + "1/514/65531": [0, 1, 2, 3, 65532, 65533, 65528, 65529, 65531], + "1/514/65529": [], + "1/514/65528": [], + "2/29/0": [ + { + "0": 256, + "1": 1 + } + ], + "2/29/1": [29, 3, 4, 6], + "2/29/2": [], + "2/29/3": [], + "2/29/65533": 3, + "2/29/65532": 0, + "2/29/65531": [0, 1, 2, 3, 65532, 65533, 65528, 65529, 65531], + "2/29/65529": [], + "2/29/65528": [], + "2/3/0": 0, + "2/3/1": 2, + "2/3/65533": 6, + "2/3/65532": 0, + "2/3/65531": [0, 1, 65532, 65533, 65528, 65529, 65531], + "2/3/65529": [0, 64], + "2/3/65528": [], + "2/4/0": 128, + "2/4/65533": 4, + "2/4/65532": 1, + "2/4/65531": [0, 65532, 65533, 65528, 65529, 65531], + "2/4/65529": [0, 1, 2, 3, 4, 5], + "2/4/65528": [0, 1, 2, 3], + "2/6/0": false, + "2/6/65533": 6, + "2/6/65532": 1, + "2/6/65531": [0, 65532, 65533, 65528, 65529, 65531], + "2/6/65529": [0, 1, 2], + "2/6/65528": [], + "2/6/16384": false, + "2/6/16385": 0, + "2/6/16386": 0, + "2/6/16387": null + }, + "attribute_subscriptions": [] +} diff --git a/tests/components/matter/snapshots/test_button.ambr b/tests/components/matter/snapshots/test_button.ambr index 2802445a7493..818a021e21f1 100644 --- a/tests/components/matter/snapshots/test_button.ambr +++ b/tests/components/matter/snapshots/test_button.ambr @@ -4211,6 +4211,57 @@ 'state': 'unknown', }) # --- +# name: test_buttons[silabs_range_hood][button.sl_rangehood_identify-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.sl_rangehood_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Identify', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '00000000000004D2-0000000000000072-MatterNodeDevice-2-IdentifyButton-3-1', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[silabs_range_hood][button.sl_rangehood_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'SL-RangeHood Identify', + }), + 'context': , + 'entity_id': 'button.sl_rangehood_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- # name: test_buttons[silabs_refrigerator][button.refrigerator_identify-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ diff --git a/tests/components/matter/snapshots/test_fan.ambr b/tests/components/matter/snapshots/test_fan.ambr index b1b02733a257..cf5c8c568ffe 100644 --- a/tests/components/matter/snapshots/test_fan.ambr +++ b/tests/components/matter/snapshots/test_fan.ambr @@ -413,3 +413,66 @@ 'state': 'on', }) # --- +# name: test_fans[silabs_range_hood][fan.sl_rangehood-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + 'preset_modes': list([ + 'low', + 'medium', + 'high', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'fan', + 'entity_category': None, + 'entity_id': 'fan.sl_rangehood', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': None, + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': None, + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': , + 'translation_key': 'fan', + 'unique_id': '00000000000004D2-0000000000000072-MatterNodeDevice-1-MatterFan-514-0', + 'unit_of_measurement': None, + }) +# --- +# name: test_fans[silabs_range_hood][fan.sl_rangehood-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'SL-RangeHood', + 'preset_mode': None, + 'preset_modes': list([ + 'low', + 'medium', + 'high', + ]), + 'supported_features': , + }), + 'context': , + 'entity_id': 'fan.sl_rangehood', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'off', + }) +# --- diff --git a/tests/components/matter/snapshots/test_light.ambr b/tests/components/matter/snapshots/test_light.ambr index d00c8f628f50..b3f381e662a6 100644 --- a/tests/components/matter/snapshots/test_light.ambr +++ b/tests/components/matter/snapshots/test_light.ambr @@ -803,3 +803,62 @@ 'state': 'off', }) # --- +# name: test_lights[silabs_range_hood][light.sl_rangehood-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + 'supported_color_modes': list([ + , + ]), + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'light', + 'entity_category': None, + 'entity_id': 'light.sl_rangehood', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': None, + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': None, + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'light', + 'unique_id': '00000000000004D2-0000000000000072-MatterNodeDevice-2-MatterLight-6-0', + 'unit_of_measurement': None, + }) +# --- +# name: test_lights[silabs_range_hood][light.sl_rangehood-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'color_mode': None, + 'friendly_name': 'SL-RangeHood', + 'supported_color_modes': list([ + , + ]), + 'supported_features': , + }), + 'context': , + 'entity_id': 'light.sl_rangehood', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'off', + }) +# --- diff --git a/tests/components/matter/snapshots/test_select.ambr b/tests/components/matter/snapshots/test_select.ambr index ec2eb274ce00..0136173018a5 100644 --- a/tests/components/matter/snapshots/test_select.ambr +++ b/tests/components/matter/snapshots/test_select.ambr @@ -4503,6 +4503,69 @@ 'state': 'Colors', }) # --- +# name: test_selects[silabs_range_hood][select.sl_rangehood_power_on_behavior-entry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + 'options': list([ + 'on', + 'off', + 'toggle', + 'previous', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'select', + 'entity_category': , + 'entity_id': 'select.sl_rangehood_power_on_behavior', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Power-on behavior', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Power-on behavior', + 'platform': 'matter', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'startup_on_off', + 'unique_id': '00000000000004D2-0000000000000072-MatterNodeDevice-2-MatterStartUpOnOff-6-16387', + 'unit_of_measurement': None, + }) +# --- +# name: test_selects[silabs_range_hood][select.sl_rangehood_power_on_behavior-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'SL-RangeHood Power-on behavior', + 'options': list([ + 'on', + 'off', + 'toggle', + 'previous', + ]), + }), + 'context': , + 'entity_id': 'select.sl_rangehood_power_on_behavior', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'previous', + }) +# --- # name: test_selects[silabs_refrigerator][select.refrigerator_mode-entry] EntityRegistryEntrySnapshot({ 'aliases': list([