for example:
button:
- platform: ...
name: button
on_press:
then:
- switch.toggle: relay_1
- switch.toggle: relay_2
- switch.turn_on: relay_3
- switch.turn_on: relay_4
- switch.turn_off: relay_5
- switch.turn_off: relay_6
here is details: https://esphome.io/components/button/index.html
button:
- platform: ...
name: button
on_press:
then:
- switch.toggle: relay_1
- switch.toggle: relay_2
- switch.turn_on: relay_3
- switch.turn_on: relay_4
- switch.turn_off: relay_5
- switch.turn_off: relay_6
here is details: https://esphome.io/components/button/index.html
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://shop.kincony.com
Alibaba Store: https://kincony.en.alibaba.com/
Online Store: https://shop.kincony.com
Alibaba Store: https://kincony.en.alibaba.com/

