Alarm Trigger that when Scheduled to set armed_home says "None" made it

Hi all.

I have runned in to a problem that ive tried to fix for some time now without success.
When my Verisure Schedule puts alarm on armed home or turn it off in the morning is says none did it.

that i would like to Change to a Value of my Choosing. Say for example “Alarm what turned of by Schedule” insted of it saying “None”.

The Code im using at the moment that ive tried diffrent thing with is the one below. The Value i se in the state when it says “None” is “null” I been trying my best to search around the forum to see what i might be able to use to fix it. But all ave found so far has not put me on the right path.

The closes i been was when i got it to say what i wanted but it allso triggerd that I myself had turned of the alarm :slight_smile: But that ofc was not true. The Other Values other then Null is Me and my Whifes names. But what i want to do is to make is so when null come it changes the message to our phones to “Schedule” inste dof null.

If anyone could take some time to help me out our Family would be greatfull. Ty in advance. <3

- alias: Alarm on protectmode
  id: '4014'
  trigger:
    - platform: state
      entity_id: alarm_control_panel.verisure_alarm
      to: 'armed_away'
  action:
    - service: notify.notify
      data:
        title: "Verisure"
        message: >
          Larmet är satt i skyddat läge
          av {{ trigger.to_state.attributes.changed_by }}

If Anyone comes across this topic i finaly figured out the solution.
Soluition for me was to make more atomations that has a conditions that checks attribute stat

###########When Alarm goes TRIGGERED!###########
- alias: Alarm off jimmy o maria
  id: '4013'
  trigger:
    - platform: state
      entity_id: alarm_control_panel.verisure_alarm
      to: 'disarmed'
  condition: "{{ trigger.to_state.attributes.changed_by is not none }}"
  action:
    - service: notify.notify
      data:
        title: "Verisure"
        message: >
          Larmet är Avlarmat
          av {{ trigger.to_state.attributes.changed_by }}

- alias: Alarm off schema
  id: '4014'
  trigger:
    - platform: state
      entity_id: alarm_control_panel.verisure_alarm
      to: 'disarmed'
  condition: "{{ trigger.to_state.attributes.changed_by is none }}"
  action:
    - service: notify.notify
      data:
        title: "Verisure"
        message: >
          Larmet är Avlarmat
          av Schema
          
###########Alarm home on###########
- alias: Alarm on shell mode Jimmy o Maria
  id: '4015'
  trigger:
    - platform: state
      entity_id: alarm_control_panel.verisure_alarm
      to: 'armed_home'
  condition: "{{ trigger.to_state.attributes.changed_by is not none }}"
  action:
    - service: notify.notify
      data:
        title: "Verisure"
        message: >
          Larmet är satt i skalskyddat läge
          av {{ trigger.to_state.attributes.changed_by }}
          
- alias: Alarm on shell mode Schema
  id: '4016'
  trigger:
    - platform: state
      entity_id: alarm_control_panel.verisure_alarm
      to: 'armed_home'
  condition: "{{ trigger.to_state.attributes.changed_by is none }}"
  action:
    - service: notify.notify
      data:
        title: "Verisure"
        message: >
          Larmet är satt i skalskyddat läge
          av Schema

###########Alarm home on###########
- alias: Alarm on protectmode
  id: '4017'
  trigger:
    - platform: state
      entity_id: alarm_control_panel.verisure_alarm
      to: 'armed_away'
  action:
    - service: notify.notify
      data:
        title: "Verisure"
        message: >
          Larmet är satt i skyddat läge
          av {{ trigger.to_state.attributes.changed_by }}