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
72.79k stars 30.49k forks source link

alarm_control_panel automatically armed without asking while at home - siren triggered #129203

Open kivadiu opened 3 hours ago

kivadiu commented 3 hours ago

The problem

First time in approx. 1 year using the alarm_control_panel: today 26-Oct-2024 at 7:34am UTC, my alarm was triggered although I never armed it. We were at home and suddenly the sirens began to sound. When we went to the control panel, the alarm was armed and we could disarm it normally to stop the sirens. The trigger is based on presence detectors and door opening so it was normal that the alarm was triggered because the alarm was armed. What was not normal is that it was armed and we never armed it. I don't see anything in the journal that shows when the alarm was armed but I see when we disarmed it

What version of Home Assistant Core has the issue?

core-2024.7.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

alarm_control_panel

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

alarm_control_panel:
  - platform: manual
    # string (Optional, default: HA Alarm)
    # The name of the alarm.
    name: Alarme

    # If defined, specifies a code to enable or disable the alarm in the frontend. Only one of code and code_template can be specified.
    # string (Exclusive)
    code: "9999"

    # The time in seconds of the ‘pending’ state before triggering the alarm.
    # integer (Optional, default: 60)
    delay_time: 20

    # The time in seconds of the ‘arming’ state before effecting a state change.
    # integer (Optional, default: 60)
    arming_time: 0

    # integer (Optional, default: 120)
    # The time in seconds of the ‘triggered’ state in which the alarm is firing.
    trigger_time: 0

Anything in the logs that might be useful for us?

I found multiple entries like those below in the log. Only 2 on 26-Oct-2024 and not at the time of the trigger and not at a time when the alarm was armed. "Présence Anormale" is the name of the automation that triggers the sirens when the alarm is armed.

2024-10-26 04:27:19.381 ERROR (MainThread) [homeassistant.components.automation.alerte_intrusion] Alarme : Présence Anormale: Error executing script. Error for call_service at pos 1: Device not connected to local push notifications
2024-10-26 04:27:19.381 ERROR (MainThread) [homeassistant.components.automation.alerte_intrusion] Error while executing automation automation.alerte_intrusion: Device not connected to local push notifications

This may refer to the first action to do when the automation is activated:
service: notify.notify
data:
  message: ALERTE Présence Anormale
  title: >-
    ALERTE Présence anormale à {{ states('sensor.time') }} le {{
    states('sensor.date') }}

Additional information

No response

home-assistant[bot] commented 3 hours ago

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (alarm_control_panel) you are listed as a code owner for? Thanks!

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


alarm_control_panel documentation alarm_control_panel source (message by IssueLinks)