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

deprecated constant which will be removed in HA Core 2025.11 #180

Closed
blavak68 opened this issue Nov 18, 2024 · 1 comment
Closed

deprecated constant which will be removed in HA Core 2025.11 #180

blavak68 opened this issue Nov 18, 2024 · 1 comment

Comments

@blavak68
Copy link

I don't know if you noticed, but in addition to other warnings, I have this two warning in the log:

Logger: homeassistant.components.alarm_control_panel
Zdroj: components/alarm_control_panel/__init__.py:210
Integrácia: Ovládací panel alarmu (dokumentácia, problémy)

Entity None (<class 'custom_components.jablotron80.alarm_control_panel.Jablotron80AlarmControl'>) is setting state directly which will stop working in HA Core 2025.11. Entities should implement the 'alarm_state' property and return its state using the AlarmControlPanelState enum, please report it to the custom integration author.
Logger: homeassistant.const
Zdroj: helpers/deprecation.py:222

STATE_ALARM_ARMED_CUSTOM_BYPASS was used from jablotron80, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.ARMED_CUSTOM_BYPASS instead, please report it to the author of the 'jablotron80' custom integration
STATE_ALARM_PENDING was used from jablotron80, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.PENDING instead, please report it to the author of the 'jablotron80' custom integration
STATE_ALARM_ARMING was used from jablotron80, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.ARMING instead, please report it to the author of the 'jablotron80' custom integration
STATE_ALARM_DISARMING was used from jablotron80, 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 'jablotron80' custom integration
STATE_ALARM_TRIGGERED was used from jablotron80, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.TRIGGERED instead, please report it to the author of the 'jablotron80' custom integration
@blavak68
Copy link
Author

thx and my best wishes to next year

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