Fix Matter airconditioner discovery of climate platform (#114326)

* Discover Thermostat platform for Room Airconditioner device

* add test

* Adjust docstring

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
This commit is contained in:
Marcel van der Veldt 2024-03-27 22:35:08 +01:00 committed by GitHub
parent d6ac8ba5c8
commit 0e12fea0cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 283 additions and 1 deletions

View file

@ -313,6 +313,6 @@ DISCOVERY_SCHEMAS = [
clusters.Thermostat.Attributes.UnoccupiedCoolingSetpoint,
clusters.Thermostat.Attributes.UnoccupiedHeatingSetpoint,
),
device_type=(device_types.Thermostat,),
device_type=(device_types.Thermostat, device_types.RoomAirConditioner),
),
]