I want to create a single automation/blueprint that contains 18 automations.
Below are the codes of two automations:
alias: 2F Main Bedroom Light ON via Single Press
trigger:
- platform: state
entity_id:
- sensor.sonoff_a0a00a0a00
to: button_1_single
action:
- type: toggle
device_id: 0000a0a0a0000a0a000aaa00000a00a
entity_id: switch.sonoff_a00a0a0aa0_0
domain: switch
mode: single
&
alias: 2F Main Bedroom Light Extra ON via Double Press
trigger:
- platform: state
entity_id:
- sensor.sonoff_a0a0000a00
to: button_1_double
action:
- type: toggle
device_id: 0000a0a0a0000a0a00a0aaa00000a00a
entity_id: switch.sonoff_000a0a0aa0_0
domain: switch
mode: single
I have 90 such automation that I want to integrate into a single automation/blueprint.
Can someone please tell me how I can make this possible?