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

Alarm Control Panel - Alexa Media Alarm Control Panel #2693

Open
Dzoker2 opened this issue Nov 24, 2024 · 0 comments
Open

Alarm Control Panel - Alexa Media Alarm Control Panel #2693

Dzoker2 opened this issue Nov 24, 2024 · 0 comments

Comments

@Dzoker2
Copy link

Dzoker2 commented Nov 24, 2024

Describe the bug: Error in the HA Log

Logger: homeassistant.components.alarm_control_panel
Source: components/alarm_control_panel/init.py:210
integration: Alarm control panel (documentation, issues)
First occurred: 23:04:23 (1 occurrences)
Last logged: 23:04:23

Entity None (<class 'custom_components.alexa_media.alarm_control_panel.AlexaAlarmControlPanel'>) 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.

To Reproduce: Open the HA log

  1. Go to 'Settings'
  2. Click on 'System/Logs'
  3. See error

Expected behavior: Not to see the error in the log

System details

  • Home Assistant version: 2024.11.3
  • alexa_media version (from const.py or HA startup log): 4.13.8
  • alexapy version (from pip show alexapy in homeasssistant container or HA startup log): I don't know how to find this
  • Is Amazon 2FA/2SV enabled <!---We will not debug login issues if unanswered---> (y/n): Y
  • Amazon Domain: Amazon.com

Debug Logs (alexa_media & alexapy)
2024-11-23 23:04:23.562 DEBUG (MainThread) [custom_components.alexa_media.helpers] M*****o@y*******m: Adding []
2024-11-23 23:04:23.562 WARNING (MainThread) [homeassistant.components.alarm_control_panel] Entity None (<class 'custom_components.alexa_media.alarm_control_panel.AlexaAlarmControlPanel'>) 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.

I gave it my best to follow the template.

Thank you

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

1 participant