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
69.79k stars 28.93k forks source link

Fix Alarm control panel not require code in Homekit #119125

Open rvanamb opened 4 weeks ago

rvanamb commented 4 weeks ago

The problem

My Abode alarm connects using the HomeKit controller. Both the 6.0 and 6.1 core update break the alarm panel. Giving the error code required where this alarm has no code required.

What version of Home Assistant Core has the issue?

2024.6.0, 2024.6.1

What was the last working version of Home Assistant Core?

2024.5.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Alarm.py

Link to integration documentation on our website

https://www.home-assistant.io/integrations/homekit_controller/

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

### Tasks
hakk2020 commented 4 weeks ago

Thank you for reporting. I have the same issue.

dronenb commented 3 weeks ago

I am having this issue as well.

dronenb commented 3 weeks ago

I found a workaround was to set the code in the Alarm Control Panel entity to something, doesn't have to be a real code (0000 should work).

Screenshot 2024-06-09 at 13 43 14
pwendl commented 3 weeks ago

This is not limited to Homekit. I am seeing similar behavior with the Simplisafe integration; however, inputting a dummy code as described doesn't work. I am able to submit a valid code that I obtain by repeating the initial Simplisafe integration steps to get a new code; however, I must input that code every time before HA will submit the request to Simplisafe. I can submit a different issue, if necessary, to document this but I thought it was still useful information for this issue.

lymanepp commented 3 weeks ago

I'm having the same problem with Abode via HomeKit.

Note that this ticket might not get assigned since it's lacking a link to the documentation - https://www.home-assistant.io/integrations/homekit_controller/

rvanamb commented 3 weeks ago

Putting in a default pin like 0000 does work for me as a work around. Also the issue is caused by a change they made to the alarm panel really has nothing to do with abode. Also mine connects under homekit controller integration so I can control over local network. Avoid cloud integration as much as possible.

On Mon, Jun 10, 2024, 10:04 AM lymanepp @.***> wrote:

I'm having the same problem with Abode via HomeKit.

Note that this ticket might not get assigned since it's lacking a link to the documentation - https://www.home-assistant.io/integrations/abode/

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/119125#issuecomment-2158882549, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP4SMEUNDJCAMRNATYFREU3ZGXMARAVCNFSM6AAAAABI72IBSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYHA4DENJUHE . You are receiving this because you authored the thread.Message ID: @.***>

home-assistant[bot] commented 3 weeks ago

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

Code owner commands Code owners of `homekit_controller` 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 homekit_controller` 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)


homekit_controller documentation homekit_controller source (message by IssueLinks)

Depechie commented 3 weeks ago

I have reported a similar problem... also HomeKit and the alarm panel, but 'with' a code. https://github.com/home-assistant/core/issues/119541

chpeck commented 3 weeks ago

I am having the same issue. Is this related to this post?

https://developers.home-assistant.io/blog/2024/05/22/alarm_control_panel_validation/

Where is this code_arm_required set?

sethryder commented 3 weeks ago

I too am having issues with this with Simplisafe:

Failed to call service alarm_control_panel/alarm_arm_home. Validation error: Arming requires a code but none was given for alarm_control_panel.alarm_control_panel
rvanamb commented 3 weeks ago

Did you try putting in a a fake code like 0000 in the settings for the alarm panel card.

On Sat, Jun 15, 2024, 11:46 AM Seth Ryder @.***> wrote:

I too am having issues with this with Simplisafe:

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

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/119125#issuecomment-2170490911, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP4SMEU7YVM7PU4ZOPWYYNLZHSDW5AVCNFSM6AAAAABI72IBSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZQGQ4TAOJRGE . You are receiving this because you authored the thread.Message ID: @.***>

chpeck commented 3 weeks ago

Did you try putting in a a fake code like 0000 in the settings for the alarm panel card. On Sat, Jun 15, 2024, 11:46 AM Seth Ryder @.> wrote: I too am having issues with this with Simplisafe: Failed to call service alarm_control_panel/alarm_arm_home. Validation error: Arming requires a code but none was given for alarm_control_panel.alarm_control_panel — Reply to this email directly, view it on GitHub <#119125 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP4SMEU7YVM7PU4ZOPWYYNLZHSDW5AVCNFSM6AAAAABI72IBSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZQGQ4TAOJRGE . You are receiving this because you authored the thread.Message ID: @.>

This worked for me.