Help with group State based automation

I have a group for my 2 presence trackers that is functioning correctly. Home and Away status updates accordingly.

When I run the actions below they function as expected.

What doesn’t seem to be working is the trigger based on the State of the group changing from away to home or in my other automation, home to away.

Should I be using a different trigger?

alias: 'Presence: Someone is home'
description: ''
trigger:
  - platform: state
    entity_id:
      - group.somebody_home
    from: away
    to: home
condition: []
action:
  - type: turn_off
    device_id: b22d48aca9ed427efe54115e42463bfc
    entity_id: switch.pro_2_garage
    domain: switch
  - service: alarm_control_panel.alarm_disarm
    data: {}
    target:
      entity_id: alarm_control_panel.blink_blink_home_system
#  - device_id: 6a0581ad381cb5b91f3548b2e0f3e6f3
#    domain: alarm_control_panel
#    entity_id: alarm_control_panel.blink_blink_home_system
#    type: disarm
mode: single

Look at the actual state of your group in Developer Tools > States. I’m guessing you need this:

    from: not_home
    to: home

Here is the info from the History. Would this display something different than what the developer tab would should?


The frontend can display all sorts of things depending on the device class of the entity. You need the actual state which is only available where I asked you to look:

That’s where my confusion came from, the mixed value displays. It does appear to be working now.

Thank you.