I am tearing my hair out… I have an automation to toggle a variable from on to off and back. I am trying to track a motion sensor state from another home automation system. I simply can’t figure out why this doesn’t work. If I use a single webhook and don’t use Trigger IDs/Choose, the automation works. With trigger IDs and a Choose, it simply does nothing. I can send the POST and Home Assistant gives me a 200, but nothing happens. There is no trace or time stamp created to show it even tried to run resulting in a default action. What am I doing wrong here?
alias: J&J Motion State Toggle
description: Track the J&J Motion Sensor State
trigger:
- platform: webhook
webhook_id: j-and-j-motion-state-toggle-on-Mhj5lOxSjNN-8xS0QLF5I8va
id: 'on'
- platform: webhook
webhook_id: j-and-j-motion-state-toggle-off-B4PZOeKl_xcGi9RHxAMPlfDP
id: 'off'
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: 'on'
sequence:
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.j_j_motion_state
- conditions:
- condition: trigger
id: 'off'
sequence:
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.j_j_motion_state
default: []
mode: single