Simple state change notification for alarm_control_panel.home_alarm not working

Guys, I’m trying to setup a simple notification for when the state of my manual alarm changes:

I setup motion and door sensors and created an automation to trigger the alarm.
I also created an automation to notify me via telegram when the state of this home alarm entity changes:

alias: home alarm state changed
description: ""
  - platform: state
      - alarm_control_panel.home_alarm
condition: []
  - service: notify.telegram_alarm
      message: >-
        Alarm changed from {{ trigger.from_state.state }} to
        {{ trigger.to_state.state }}
mode: single

somehow I only receive messages when my alarm goes from triggered to disarmed.
When arming away/home/night nothing is send even though the trace shows a log of the message send:

Executed: January 21, 2023 at 11:33:59 PM
  domain: telegram_bot
  service: send_message
    message: Alarm changed from disarmed to armed_away
  target: {}
running_script: false
limit: 10

any thought how to troubleshoot? or am I doing something wrong?


mode: queued

In case there is more than one state change.

no luck, also tried parallel.
Only a triggered state to disarmed will send a notification… This is sooo weird, I don’t see how this is possible. Going to try a few more things.

edit: added another notifier to my iOS companion app, and I get all notifications there. Only my telegram messages don’t come through except when the state changes from an actually triggered alarm, to disabled…