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

async_track_state_change deprecated #245

Open
ctih opened this issue Apr 25, 2024 · 1 comment
Open

async_track_state_change deprecated #245

ctih opened this issue Apr 25, 2024 · 1 comment

Comments

@ctih
Copy link

ctih commented Apr 25, 2024

In Home Assistant new version the function used is deprecated. Could anyone look in to the issue before the release of this release?

Core
2024.5.0b0
Supervisor
2024.04.3
Operating System
12.2
Brugerflade
20240424.1

Logger: homeassistant.helpers.frame
Kilde: helpers/frame.py:190
Første forekomst: 13.34.55 (4 forekomster)
Senest logget: 13.35.01

Detected that custom integration 'circadian_lighting' 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/circadian_lighting/switch.py, line 234: async_track_state_change(, please create a bug report at https://github.com/claytonjn/hass-circadian_lighting/issues

@AnthonyBe
Copy link

Yeah, just saw this as well when I upgraded from 2024.4.4 to 2024.5.1
Got a year to fix it, but nice to have one less warning in the log file :)

2024-05-04 20:33:02.443 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'circadian_lighting' calls async_track_state_changeinstead ofasync_track_state_change_event which is deprecated and will be removed in Home Assistant 2025.5 at custom_components/circadian_lighting/switch.py, line 234: async_track_state_change(, please create a bug report at https://github.com/claytonjn/hass-circadian_lighting/issues

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

2 participants