From 354ee35ee4c473432d53ce27e4b6acd0b54c0b81 Mon Sep 17 00:00:00 2001
From: Marcel van der Veldt <m.vanderveldt@outlook.com>
Date: Tue, 24 Sep 2024 19:34:34 +0200
Subject: [PATCH] Extend the lists of Matter climate devices that need special
 treatment (#126644)

---
 homeassistant/components/matter/climate.py | 87 ++++++++++++++++++++++
 1 file changed, 87 insertions(+)

diff --git a/homeassistant/components/matter/climate.py b/homeassistant/components/matter/climate.py
index 4eec539c0db..f41fa3baaba 100644
--- a/homeassistant/components/matter/climate.py
+++ b/homeassistant/components/matter/climate.py
@@ -46,7 +46,36 @@ SINGLE_SETPOINT_DEVICES: set[tuple[int, int]] = {
     # We were told this is just some legacy inheritance from zigbee specs.
     # In the list below specify tuples of (vendorid, productid) of devices for
     # which we just need a single setpoint to control both heating and cooling.
+    (0x1209, 0x8000),
+    (0x1209, 0x8001),
+    (0x1209, 0x8002),
+    (0x1209, 0x8003),
+    (0x1209, 0x8004),
+    (0x1209, 0x8005),
+    (0x1209, 0x8006),
     (0x1209, 0x8007),
+    (0x1209, 0x8008),
+    (0x1209, 0x8009),
+    (0x1209, 0x800A),
+    (0x1209, 0x800B),
+    (0x1209, 0x800C),
+    (0x1209, 0x800D),
+    (0x1209, 0x800E),
+    (0x1209, 0x8010),
+    (0x1209, 0x8011),
+    (0x1209, 0x8012),
+    (0x1209, 0x8013),
+    (0x1209, 0x8014),
+    (0x1209, 0x8020),
+    (0x1209, 0x8021),
+    (0x1209, 0x8022),
+    (0x1209, 0x8023),
+    (0x1209, 0x8024),
+    (0x1209, 0x8025),
+    (0x1209, 0x8026),
+    (0x1209, 0x8027),
+    (0x1209, 0x8028),
+    (0x1209, 0x8029),
 }
 
 SUPPORT_DRY_MODE_DEVICES: set[tuple[int, int]] = {
@@ -55,7 +84,36 @@ SUPPORT_DRY_MODE_DEVICES: set[tuple[int, int]] = {
     # support dry mode.
     (0x0001, 0x0108),
     (0x0001, 0x010A),
+    (0x1209, 0x8000),
+    (0x1209, 0x8001),
+    (0x1209, 0x8002),
+    (0x1209, 0x8003),
+    (0x1209, 0x8004),
+    (0x1209, 0x8005),
+    (0x1209, 0x8006),
     (0x1209, 0x8007),
+    (0x1209, 0x8008),
+    (0x1209, 0x8009),
+    (0x1209, 0x800A),
+    (0x1209, 0x800B),
+    (0x1209, 0x800C),
+    (0x1209, 0x800D),
+    (0x1209, 0x800E),
+    (0x1209, 0x8010),
+    (0x1209, 0x8011),
+    (0x1209, 0x8012),
+    (0x1209, 0x8013),
+    (0x1209, 0x8014),
+    (0x1209, 0x8020),
+    (0x1209, 0x8021),
+    (0x1209, 0x8022),
+    (0x1209, 0x8023),
+    (0x1209, 0x8024),
+    (0x1209, 0x8025),
+    (0x1209, 0x8026),
+    (0x1209, 0x8027),
+    (0x1209, 0x8028),
+    (0x1209, 0x8029),
 }
 
 SUPPORT_FAN_MODE_DEVICES: set[tuple[int, int]] = {
@@ -64,7 +122,36 @@ SUPPORT_FAN_MODE_DEVICES: set[tuple[int, int]] = {
     # support fan-only mode.
     (0x0001, 0x0108),
     (0x0001, 0x010A),
+    (0x1209, 0x8000),
+    (0x1209, 0x8001),
+    (0x1209, 0x8002),
+    (0x1209, 0x8003),
+    (0x1209, 0x8004),
+    (0x1209, 0x8005),
+    (0x1209, 0x8006),
     (0x1209, 0x8007),
+    (0x1209, 0x8008),
+    (0x1209, 0x8009),
+    (0x1209, 0x800A),
+    (0x1209, 0x800B),
+    (0x1209, 0x800C),
+    (0x1209, 0x800D),
+    (0x1209, 0x800E),
+    (0x1209, 0x8010),
+    (0x1209, 0x8011),
+    (0x1209, 0x8012),
+    (0x1209, 0x8013),
+    (0x1209, 0x8014),
+    (0x1209, 0x8020),
+    (0x1209, 0x8021),
+    (0x1209, 0x8022),
+    (0x1209, 0x8023),
+    (0x1209, 0x8024),
+    (0x1209, 0x8025),
+    (0x1209, 0x8026),
+    (0x1209, 0x8027),
+    (0x1209, 0x8028),
+    (0x1209, 0x8029),
 }
 
 SystemModeEnum = clusters.Thermostat.Enums.SystemModeEnum
-- 
GitLab