Problem with location state & Actionable IOS mobile_app

Heres what im trying to accomplish; I want an Actionable IOS notification sent when I leave home (tracked by life360). The choices on that IOS notification would be; "WALK" and "AWAY".

If "WALK" selected do X
if "AWAY" selected do Y

Heres what I got (obviously not working). Forgive any noob mistakes.. I've just recently got into HA and NR. Any help is greatly appreciated.

/configuration.yaml

ios:
  push:
    categories:
      - name: Walk or Away?
        identifier: 'AWAYWALK'
        actions:
          - identifier: 'WALK_MODE'
            title: 'Walk Mode'
          - identifier: 'AWAY_MODE'
            title: 'Set Away Mode'
            destructive: true

/automations.yaml

  - alias: Walk or Away Mode Set Button
    initial_state: true
    trigger:
    condition: 
      condition: state
      entity_id: device_tracker.life360_jon
      state: not_home
      action:
          service: notify.mobile_app_jc_xs
          data:
            title: "You have left! Select Mode"
            message: "On a Walk, or Away?"
            data:
              push:
                badge: 0
                category: 'AWAYWALK'

  - alias: IOS app notification WALK MODE
    initial_state: true
    trigger:
      platform: event
      event_type: ios_notification_action_fired
      event_data:
        actioName: WALK_MODE
    action: 
      service: input_select.select_option
      entity_id: input_select.away_or_on_a_walk_notification_select
      option: iswalk
     
  - alias: IOS app notification AWAY MODE
    initial_state: true
    trigger:
      platform: event
      event_type: ios_notification_action_fired
      event_data:
        actioName: AWAY_MODE
    action: 
      service: input_select.select_option
      entity_id: input_select.away_or_on_a_walk_notification_select
      option: isaway

Heres the basic flow sequence:

[{"id":"da27185.bd465e8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"c27d3ce6.5a91b","type":"server-state-changed","z":"da27185.bd465e8","name":"IOS Choice WALK or AWAY?","server":"41c2e4cc.1954cc","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.away_or_on_a_walk_notification_select","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":240,"y":340,"wires":[["a4fad94.ec93728"]]},{"id":"a4fad94.ec93728","type":"switch","z":"da27185.bd465e8","name":"Choice from Device","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"isaway","vt":"str"},{"t":"eq","v":"iswalk","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":340,"wires":[["d4fe3b99.f17128"],["1252adb5.ae5f02"]]},{"id":"1252adb5.ae5f02","type":"debug","z":"da27185.bd465e8","name":"To Cater Walk Mode >>>","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":710,"y":480,"wires":[]},{"id":"d4fe3b99.f17128","type":"debug","z":"da27185.bd465e8","name":"To Away Mode >>","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":710,"y":180,"wires":[]},{"id":"41c2e4cc.1954cc","type":"server","z":"","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

So, Im not even getting the notification at this point. I use normal IOS notifications in many other areas without issue, so I'm not sure whats going on here.. I accidently cleared the log, but ill post it once it populates again.

Im just posting this in case anyone sees some clear and obvious problems or poor scripting.

Also, if anyone has a better way to test this.. the whole "Change State" trigger based off life360 (with my flow) is annoying cause I keep changing my "home" in life360. Not sure how to Inject> a state change.

Thanks in advance!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.