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 is deprecated, and removed in Home Assistant 2025.5 #192

Open
supermarkert opened this issue May 6, 2024 · 0 comments · May be fixed by #212
Open

async_track_state_change is deprecated, and removed in Home Assistant 2025.5 #192

supermarkert opened this issue May 6, 2024 · 0 comments · May be fixed by #212
Labels
bug Something isn't working

Comments

@supermarkert
Copy link

supermarkert commented May 6, 2024

What happened?

Trying out Lock Code Manager for the first time (with the Virtual integration), and I'm seeing this error in the logs:

Detected that custom integration 'lock_code_manager' 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/lock_code_manager/entity.py, line 284: async_track_state_change(, please create a bug report at https://github.com/raman325/lock_code_manager/issues

Steps to reproduce the issue

  1. Install Virtual integration, and create 1 test lock
  2. Install/setup Lock Code Manager
  3. Check logs

Home Assistant Version

2024.5.1

What version of Lock Code Manager are you running?

0.4.6

Lock make and model

Virtual

Relevant log output

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:190
First occurred: 1:06:20 PM (8 occurrences)
Last logged: 1:11:06 PM

Detected that custom integration 'lock_code_manager' 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/lock_code_manager/entity.py, line 284: async_track_state_change(, please create a bug report at https://github.com/raman325/lock_code_manager/issues

Screenshots

No response

Anything else?

No response

@supermarkert supermarkert added the bug Something isn't working label May 6, 2024
@supermarkert supermarkert changed the title async_track_state_change is depracated, and removed in Home Assistant 2025.5 async_track_state_change is deprecated, and removed in Home Assistant 2025.5 May 8, 2024
@raman325 raman325 linked a pull request May 22, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant