Hey - working on my very 1st blueprint… Seems like it should be easy enough… but low and behold, I can figure it out. So I wrote the below, which is a blueprint for double tapping on or off on an insteon light switch. I can create the automation, but it never triggers and nothing is ever in the logs. I assume there is something wrong with my trigger statement… but I cant see it. Any advise
bluerprint
blueprint:
name: Insteon - Double Tap
description: "cnkd"
domain: automation
input:
switch:
name: switch
description: Insteon Switch to User
selector:
entity:
domain: light
double_tap_up:
name: Double Tap up
description: "cnkd"
default: []
selector:
action: {}
double_tap_down:
name: double tap down
description: "cnkd"
default: []
selector:
action: {}
mode: restart
max_exceeded: silent
trigger:
- platform: event
event_type: isy994_control
event_data:
entity_id: !input "switch"
action:
- variables:
command: "{{ trigger.event.data.control }}"
- choose:
- conditions:
- "{{ command == 'DFON' }}"
sequence: !input "double_tap_up"
- conditions:
- "{{ command == 'DFOF' }}"
sequence: !input "double_tap_down"
Automation created
- id: '1616416192370'
alias: Insteon - Double Tap123
description: ''
use_blueprint:
path: boojew/insteon-double-tap.yaml
input:
switch: light.bedroom_light
double_tap_up:
- service: light.toggle
data: {}
target:
entity_id: light.staircase