Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detected that custom integration 'attributes' calls async_track_state_change instead of async_track_state_change_event which is deprecated and will be removed in Home Assistant 2025.5 #47

Open
antivirus68 opened this issue May 12, 2024 · 3 comments

Comments

@antivirus68
Copy link

After updating to HA 2024.5 I got this WARNING in HA log.

2024-05-12 08:09:48.940 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'attributes' calls "async_track_state_change" instead of "async_track_state_change_event" which is deprecated and will be removed in Home Assistant 2025.5 at custom_components/attributes/sensor.py, line 221: async_track_state_change(, please create a bug report at https://github.com/pilotak/homeassistant-attributes/issues

@pilotak
Copy link
Owner

pilotak commented May 12, 2024

thanks for reporting

@sam2332
Copy link

sam2332 commented Jul 18, 2024

Just bumping this issue

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:184
First occurred: 10:12:28 AM (1 occurrences)
Last logged: 10:12:28 AM

Detected that custom integration 'attributes' calls async_add_job, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/attributes/sensor.py, line 216: self.hass.async_add_job(self.async_update_ha_state(True))

@pilotak
Copy link
Owner

pilotak commented Jul 18, 2024

@sam2332 this is reported in #45, feel free to submit a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants