i have a trouble to understand i guess the simplest task.
i make a button and i like to add a on off button to turn on and off a simple Sonoff Switch.
i like to know how to set up the trigger function, anyone that can point me in the direction ?
ive looked in to all tutorials on the page, or did i miss somthing there ?
thanx