Extend the lists of Matter climate devices that need special treatment (#126644)

This commit is contained in:
Marcel van der Veldt 2024-09-24 19:34:34 +02:00 committed by GitHub
parent c099f4f50f
commit 354ee35ee4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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