core/homeassistant
Marcel van der Veldt 516966db33
Add Matter custom cluster sensors (Eve Energy Plug energy measurements) (#104830)
* Support for sensors from custom clusters in Matter

* lint

* no need to write state twice

* Add test for eve energy plug

* Update homeassistant/components/matter/entity.py

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

* adjust comment

* debounce extra poll timer

* use async_call_later helper

* Update homeassistant/components/matter/entity.py

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

* wip extend test

* Update test_sensor.py

* fix state class for sensors

* trigger (fake) event callback on all subscribers

* Update eve-energy-plug.json

* add test for additionally polled value

* adjust delay to 3 seconds

* Adjust subscribe_events to always use kwargs

* Update tests/components/matter/common.py

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

* Update test_sensor.py

* remove redundant code

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-12-04 17:21:41 +01:00
..
auth Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
backports
brands Add Flexit bacnet integration (#104275) 2023-11-30 16:50:13 +01:00
components Add Matter custom cluster sensors (Eve Energy Plug energy measurements) (#104830) 2023-12-04 17:21:41 +01:00
generated Add CB3 descriptor to ZHA manifest (#104071) 2023-12-04 09:48:44 +01:00
helpers Move config_per_platform and extract_domain_configs to config.py (#104989) 2023-12-04 12:48:49 +01:00
scripts Fix colors in check_config script (#104069) 2023-11-17 13:21:04 -05:00
util Add scaling utils for brightness and fanspeed (#104753) 2023-12-04 12:10:58 +01:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py Do not notify config errors during logging (#104466) 2023-11-24 21:34:09 +01:00
config.py Move config_per_platform and extract_domain_configs to config.py (#104989) 2023-12-04 12:48:49 +01:00
config_entries.py Rename ex to exc as name for exceptions (#104479) 2023-11-25 08:30:18 +01:00
const.py Bump version to 2024.1.0dev0 (#104746) 2023-11-29 21:29:11 +01:00
core.py Remove aiohttp cancel on disconnect workaround (#104175) 2023-11-29 11:20:36 -07:00
data_entry_flow.py
exceptions.py Raise and suppress stack trace when reloading yaml fails (#102410) 2023-11-24 17:34:45 +01:00
loader.py Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
package_constraints.txt Update frontend to 20231204.0 (#104990) 2023-12-04 13:10:51 +01:00
requirements.py
runner.py
setup.py Raise and suppress stack trace when reloading yaml fails (#102410) 2023-11-24 17:34:45 +01:00
strings.json