home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.24k stars 29.86k forks source link

Error message arming blink: Arming requires a code #118882

Closed philipp-frank closed 3 months ago

philipp-frank commented 3 months ago

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

home-assistant[bot] commented 3 months ago

Hey there @fronzbot, @mkmer, mind taking a look at this issue as it has been labeled with an integration (blink) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `blink` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign blink` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


blink documentation blink source (message by IssueLinks)

zadigre commented 3 months ago

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

sayre913 commented 3 months ago

Are there any work around for this yet?

philipp-frank commented 3 months ago

As mentioned by @zadigre "Calling the service and putting a random code will work.". Only manual activation via the alarm control panel of the blink integration won't work.

DocBrownInSpace commented 3 months ago

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?

zadigre commented 3 months ago

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

ethan9482 commented 3 months ago

Somfy Protect has the same problem, used through home bridge plugin

schniepp commented 3 months ago

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.

kmanan commented 3 months ago

Getting this issue with Ring MQTT too

Feuerhamster commented 3 months ago

Issue still exists with vanilla HA mushroom card with alarm control panel entity

schniepp commented 3 months ago

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.

woldhek commented 3 months ago

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

Qvtruong09 commented 3 months ago

Aqara hub also has the same issue

yrmuq commented 3 months ago

@schniepp oh thank you man, it helped me with vanilla HA alarm panel!

ccie11827 commented 2 months ago

same issue here. Workaround doesn´t work :-(

garyo commented 2 months ago

I see there's a merged PR for this. Any news on when it'll be released?

philipp-frank commented 2 months ago

@garyo: it was released in 2024.6.1 (or .2) - code_arm_required: false needs to be set for the Manual Alarm control panel.

garyo commented 2 months ago

@garyo: it was released in 2024.6.1 (or .2) - code_arm_required: false needs to be set for the Manual Alarm control panel.

I see that my Simplisafe integration is now asking for a code. I put in a code, but still the arm/disarm are not working. Not sure where I should add code_arm_required: false in my config. My Simplisafe is configured using the GUI. I think the same thing is causing my Arlo camera arm/disarm to not work ("aarlo" integration), and probably my Blink cameras as well. Any hints would be very appreciated!

philipp-frank commented 2 months ago

The code_arm_required: false works only for the vanilla Alarm control panel (alarm_control_panel: in configuration.yaml). The Blink Integration has been fixed (no code is required), don't know about the Simplisafe integration.

garyo commented 2 months ago

Ah, I see -- I guess I was hoping whatever change it was in the core that broke all the alarm integrations would be reverted in that update. Oh well.

bjorrwahman commented 2 months ago

I have this problem on Aarlo alarm panel also.

sdavides commented 2 months ago

Aqara hub also has the same issue

same problem G3, the update is a disaster.

Qvtruong09 commented 2 months ago

Anyone knows if this is fixed in 2024.7.2?

zadigre commented 2 months ago

Anyone knows if this is fixed in 2024.7.2?

It all depends on the integration you are using. blink and envisalink is fixed for me

Qvtruong09 commented 2 months ago

I have aqara M2 hub

Qvtruong09 commented 2 months ago

2024.7.2 still cause issue aqara M2 hub. Restored back to 2024.5.5

gjohansson-ST commented 2 months ago

Locking this issue as all comments are based on other integrations than the original issue. Please open a new issue in the repo of the integrations if other integrations still has issues.