enkama / hass-variables

Home Assistant variables component
89 stars 12 forks source link

Use _unrecorded_attributes instead of recorder_history_prefilter #121

Closed Snuffy2 closed 1 month ago

Snuffy2 commented 1 month ago

Uses the new _unrecorded_attributes = frozenset({MATCH_ALL}) functionality available with HA 2024.7 instead of recorder_history_prefilter https://developers.home-assistant.io/blog/2024/06/22/excluding-state-attributes-from-recording-match-all/ https://developers.home-assistant.io/docs/core/entity#excluding-state-attributes-from-recorder-history

Fixes #120

It would be great if someone who is having the issues could test this as well.

This may not be the best long term solution but should work for now pending: https://github.com/home-assistant/architecture/discussions/1106

Snuffy2 commented 1 month ago

@enkama unfortunately, the recorder_history_prefilter (which is in use by hass-variables) is breaking things for many users in 2024.7. If you can get this PR out into a release quickly it would be helpful.

Snuffy2 commented 1 month ago

Thanks @enkama !!!