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

Error arming/disarming with Home Assistant version 2024.6 onwards #6

Closed
shadsnz opened this issue Jul 4, 2024 · 1 comment
Closed

Comments

@shadsnz
Copy link

shadsnz commented Jul 4, 2024

For reference in case anyone else finds this issue, trying to arm or disarm the alarm fails if you have a code in place, with error:

Failed to call service alarm_control_panel/alarm_arm_away. Validation error: Arming requires a code but none was given for alarm_control_panel.home

This has been discussed in
home-assistant/core#118668

And the issue can be fixed in ha_pycrowipmodule by adding the _attr_code_arm_required line (see below) into the alarm_control_panel.py file.

class CrowIPModuleAlarm(CrowIPModuleDevice, alarm.AlarmControlPanelEntity):
    """Representation of an Crow IP Module-based alarm panel."""
    _attr_code_arm_required = False
@febalci
Copy link
Owner

febalci commented Sep 24, 2024

Fixed with v0.32

@febalci febalci closed this as completed Sep 24, 2024
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