FutureTense / keymaster

Home Assistant integration for managing Z-Wave enabled locks
MIT License
218 stars 44 forks source link

ISSUE: async_track_state_change used instead of async_track_state_change_event #361

Closed tykeal closed 2 months ago

tykeal commented 2 months ago

Describe the bug HA 2024.5 has the following log line showing up:

2024-05-01 13:23:45.839 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'keymaster' 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/keymaster/__init__.py, line 115: async_track_state_change(, please create a bug report at https://github.com/FutureTense/keymaster/issues

Environment (please complete the following information):

Logs

2024-05-01 13:23:45.839 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'keymaster' 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/keymaster/__init__.py, line 115: async_track_state_change(, please create a bug report at https://github.com/FutureTense/keymaster/issues