mirror of
https://github.com/home-assistant/core.git
synced 2026-02-24 03:47:14 +00:00
* 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