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

Deprecation warnings for HA Core 2025.11 #49

Closed
lewurm opened this issue Jan 1, 2025 · 2 comments · Fixed by #52
Closed

Deprecation warnings for HA Core 2025.11 #49

lewurm opened this issue Jan 1, 2025 · 2 comments · Fixed by #52

Comments

@lewurm
Copy link

lewurm commented Jan 1, 2025

STATE_ALARM_DISARMING was used from teslafi, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.DISARMING instead, please report it to the author of the 'teslafi' custom integration
STATE_ALARM_DISARMED was used from teslafi, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.DISARMED instead, please report it to the author of the 'teslafi' custom integration
STATE_LOCKING was used from teslafi, this is a deprecated constant which will be removed in HA Core 2025.10. Use LockState.LOCKING instead, please report it to the author of the 'teslafi' custom integration
STATE_UNLOCKING was used from teslafi, this is a deprecated constant which will be removed in HA Core 2025.10. Use LockState.UNLOCKING instead, please report it to the author of the 'teslafi' custom integration
@jhansche
Copy link
Owner

jhansche commented Jan 5, 2025

I've been planning to address this soon.

Just want to call out that this new state constant was only introduced in 2024.11.0 -- which means if we switch to the new constant, we also must bump the minimum supported HA version to 24.11, otherwise it will fail to load on older versions.

That's not a huge deal because it was 2 months ago, but you might be surprised to learn that it's not uncommon for folks to hold off updating until later. The warning says it will be removed in 25.10, so we still have plenty of time to address it 😅

@jhansche jhansche linked a pull request Jan 5, 2025 that will close this issue
@jhansche
Copy link
Owner

jhansche commented Jan 5, 2025

This is now published as v2.10.1.
This version is in pre-release, and HACS should allow it to be installed only on HA 2024.11 and newer.

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

Successfully merging a pull request may close this issue.

2 participants