lock_code_manager icon indicating copy to clipboard operation
lock_code_manager copied to clipboard

`async_track_state_change` is deprecated, and removed in Home Assistant 2025.5

Open supermarkert opened this issue 1 year ago • 0 comments

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 avatar May 06 '24 17:05 supermarkert