nielsfaber / alarmo

Easy to use alarm system integration for Home Assistant
1.35k stars 122 forks source link

Action cannot be executed (arm_away when arm_home and alarm goes triggered) #993

Closed kslcsdalsadg closed 3 months ago

kslcsdalsadg commented 3 months ago

Checklist

Alarmo Version

v1.10.4

HA Version

2024.7.1 (frontend 20240705.0)

Bug description

I have a action that changes the current arm mode from "armed_home" to "armed_away" when the alarm in "armed_home" state and the alarm is triggered but the action is never executed. I have tried to test the action clicking the test button and is working, but doesn't work in other case.

image

Steps to reproduce

Relevant log output

Home Assistant LOG

2024-07-09 12:10:55.934 WARNING (MainThread) [custom_components.alarmo.alarm_control_panel] Cannot go to state armed_away from state triggered.
2024-07-09 12:10:55.935 DEBUG (MainThread) [custom_components.alarmo.mqtt] Published state 'triggered' on topic 'alarmo/state'
nielsfaber commented 3 months ago

If the alarm is triggered, it needs to be disarmed before it can be armed again.

kslcsdalsadg commented 3 months ago

And can't be forced?

nielsfaber commented 3 months ago

No this cannot be forced.