core: Error message arming blink: Arming requires a code

The problem

Arming the blink Sync Modul leads to the following error message:

Fehler beim Aufrufen des Diensts alarm_control_panel/alarm_arm_away. Validation error: Arming requires a code but none was given for alarm_control_panel.blink_sync_modul

I guess it has to do with the change “A default code can now be set in the entity settings for every alarm control panel entities.” and code_arm_required: false needs to be set for the alarm_control_panel of the blink integration.

What version of Home Assistant Core has the issue?

2024.6.0b8

What was the last working version of Home Assistant Core?

2024.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

blink

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 3
  • Comments: 27 (1 by maintainers)

Most upvoted comments

Actually, I have this problem with the vanilla HA alarm panel. No additional integration whatsoever. Just trying to arm my system stopped working with 2024.6. It throws an error complaining that no code was given, but I never put a code on my system.

Actually, I have this problem with the vanilla HA alarm panel. No additional integration whatsoever. Just trying to arm my system stopped working with 2024.6. It throws an error complaining that no code was given, but I never put a code on my system.

I found a workaround for my problem: in the yaml configuration, I added code_arm_required: false to explicitly say that my system does not need a code. This solved my problem.

Same for Envisalink… Some of my automations stopped working because I now have to add a code

I just upgraded to 2024.6 today… and I’m facing the same issue. Calling the service and putting a random code will work.

Aqara hub also has the same issue

@schniepp does your workaround also still alow you to unlock the alarm with the vanialla HA alarm panel?

This bug still affects the SimpliSafe integration. @gjohansson-ST can you add SimpliSafe to the list of integrations that need the alarm control panel fix?