hass-core/homeassistant
hidaris 3bd8955e0e
Add Matter Climate support (#95434)
* Add Matter Climate support

* update set target temp and update callback

* remove print

* remove optional property

* Adjust the code to improve readability.

* add thermostat test

* Remove irrelevant cases in setting the target temperature.

* add temp range support

* update hvac action

* support adjust low high setpoint..

* support set hvac mode

* address some review feedback

* move some methods around

* dont discover climate in switch platform

* set some default values

* fix some of the tests

* fix some typos

* Update thermostat.json

* Update homeassistant/components/matter/climate.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/matter/climate.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* support heat_cool in hvac_modes

* address some review feedback

* handle hvac mode param in set temp service

* check hvac modes by featuremap

* add comment to thermostat feature class

* make ruff happy..

* use enum to enhance readability.

* use builtin feature bitmap

* fix target temp range and address some feedback

* use instance attribute instead of class attr

* make ruff happy...

* address feedback about single case

* add init docstring

* more test

* fix typo in tests

* make ruff happy

* fix hvac modes test

* test case for update callback

* remove optional check

* more tests

* more tests

* update all attributes in the update callback

* Update climate.py

* fix missing test

---------

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-07-03 12:33:50 +02:00
..
auth Replace isort with ruff (#94302) 2023-06-08 23:43:56 +02:00
backports Improve type annotations of cached_property backport (#95309) 2023-06-26 18:36:01 -05:00
brands Add YouTube integration (#92988) 2023-05-27 11:21:12 -07:00
components Add Matter Climate support (#95434) 2023-07-03 12:33:50 +02:00
generated Add Opower integration for getting electricity/gas usage and cost for many utilities (#90489) 2023-07-02 21:26:31 -04:00
helpers Update log message when referenced entity not found (#95577) 2023-07-02 00:04:03 +02:00
scripts
util Move overlapping pylint rules to ruff, disable mypy overlap (#94359) 2023-06-27 17:42:46 +02:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py Set httpx log level to warning (#94217) 2023-06-08 09:39:06 +02:00
config.py Onboard Google Translate (#95352) 2023-06-27 13:12:25 +02:00
config_entries.py Debounce discoveries to improve event loop stability at the started event (#94690) 2023-06-15 22:15:07 -04:00
const.py Bump version to 2023.8.0dev0 (#95476) 2023-06-28 16:07:54 -04:00
core.py Use a normal tuple for the EventBus jobs (#95731) 2023-07-02 16:35:57 -05:00
data_entry_flow.py Reduce in progress flow matching overhead (#94403) 2023-06-11 10:41:38 +02:00
exceptions.py Make dataclasses in HA core slotted (#91208) 2023-04-11 07:58:28 -10:00
loader.py Reduce overhead to fetch integrations (#93767) 2023-05-29 20:58:51 -04:00
package_constraints.txt Bump zeroconf to 0.70.0 (#95714) 2023-07-02 12:23:41 -05:00
requirements.py
runner.py Make dataclasses in HA core slotted (#91208) 2023-04-11 07:58:28 -10:00
setup.py Log a traceback when importing a component fails (#94778) 2023-06-19 13:10:39 +02:00
strings.json Raise issue "does not support platform setup" (#93585) 2023-05-28 21:53:32 +02:00