core/homeassistant/components/group
Erik Montnemery dd5a48996a
Keep capabilities up to date in the entity registry (#101748)
* Keep capabilities up to date in the entity registry

* Warn if entities update their capabilities very often

* Fix updating of device class

* Stop tracking capability updates once flooding is logged

* Only sync registry if state changed

* Improve test

* Revert "Only sync registry if state changed"

This reverts commit 1c52571596c06444df234d4b088242b494b630f2.

* Avoid calculating device class twice

* Address review comments

* Revert using dataclass

* Fix unintended revert

* Add helper method
2023-12-13 17:27:26 +01:00
..
__init__.py
binary_sensor.py
config_flow.py
const.py
cover.py
event.py
fan.py
light.py
lock.py
manifest.json
media_player.py
notify.py
reproduce_state.py
sensor.py
services.yaml
strings.json
switch.py
util.py