I’ve spent the day trying to learn how to blueprint an automation and my test case was when the triggered switch entity changes to off, I want to turn that switch back on but it would seem that input: entity:
and input: trigger: entity:
both have to be specified/picked?
This is the automation I want to blueprint:
alias: Tagreader
description: ''
trigger:
- platform: state
entity_id: switch.tagreader_buzzer_enabled
id: buzzer
to: 'off'
- platform: state
entity_id: switch.tagreader_led_enabled
id: led
to: 'off'
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: buzzer
sequence:
- service: switch.turn_on
target:
entity_id: switch.tagreader_buzzer_enabled
- conditions:
- condition: trigger
id: led
sequence:
- service: switch.turn_on
target:
entity_id: switch.tagreader_led_enabled
default: []
mode: queued
max: 10