-
Notifications
You must be signed in to change notification settings - Fork 302
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
Comments
The issue has received no activity for 60 days and will be closed in a week. |
Hi, still getting this error daily! |
Hi, could you try replacing |
I just did and restarted HA. I got this new error after restart: Logger: homeassistant.helpers.frame Detected that custom integration 'alexa_media' is setting state directly. Entity None (<class 'custom_components.alexa_media.alarm_control_panel.AlexaAlarmControlPanel'>) should implement the 'alarm_state' property and return its state using the AlarmControlPanelState enum at custom_components/alexa_media/helpers.py, line 54: add_devices_callback(devices, False). This will stop working in Home Assistant 2025.11, please create a bug report at https://github.com/alandtse/alexa_media_player/issues But then I replaced back the old version, restarted and I got this same new error ( I did not see the old error in the last 10-15mn). Let me reinstall the integration and let it "marinate" for some time and see how it goes.. If you want me I can create a new issue with this new error. When I compared the files content btw the new and old one they are identical. Thank you |
That's bizarre that the warning message has changed. For what it's worth, I'm attempting to do this blindly (since I have no Alexa Guard here in Canada) and am basing it solely off this HA blog post: New alarm control panel state property and state enum. Try this version: alarm_control_panel.zip BTW, you do have Alexa Guard in your Alexa account, correct? |
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
Expected behavior: Not to see the error in the log
System details
const.py
or HA startup log): 4.13.8pip show alexapy
in homeasssistant container or HA startup log): I don't know how to find thisDebug 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
The text was updated successfully, but these errors were encountered: