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

Warning 'alarm_state' property since 2024.11 #1060

Open
2 tasks done
Gloomyeye opened this issue Nov 4, 2024 · 0 comments
Open
2 tasks done

Warning 'alarm_state' property since 2024.11 #1060

Gloomyeye opened this issue Nov 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Gloomyeye
Copy link

Gloomyeye commented Nov 4, 2024

Checklist

  • I am using the latest version of Alarmo (latest version can be found here)
  • I checked for similar existing requests (both open and closed) before posting.

Alarmo Version

v1.10.6

HA Version

2024.11

Bug description

Hello,

with the newest beta version 2024.11, the following warning occurs in the log.

Steps to reproduce

Check the logs after restart of HASS

Relevant log output

Logger: homeassistant.components.alarm_control_panel
Quelle: components/alarm_control_panel/__init__.py:210
Integration: Alarmzentrale (Dokumentation, Probleme)
Erstmals aufgetreten: 21:29:42 (2 Vorkommnisse)
Zuletzt protokolliert: 21:29:42

Entity alarm_control_panel.alarmo (<class 'custom_components.alarmo.alarm_control_panel.AlarmoAreaEntity'>) 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
Quelle: helpers/deprecation.py:222
Erstmals aufgetreten: 20:09:45 (36 Vorkommnisse)
Zuletzt protokolliert: 20:09:45

STATE_ALARM_ARMED_VACATION was used from alarmo, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.ARMED_VACATION instead, please report it to the author of the 'alarmo' custom integration
STATE_ALARM_DISARMED was used from alarmo, 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 'alarmo' custom integration
STATE_ALARM_TRIGGERED was used from alarmo, 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 'alarmo' custom integration
STATE_ALARM_PENDING was used from alarmo, 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 'alarmo' custom integration
STATE_ALARM_ARMING was used from alarmo, 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 'alarmo' custom integration
@Gloomyeye Gloomyeye added the bug Something isn't working label Nov 4, 2024
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

No branches or pull requests

1 participant