the lights dont turn on but the checkbox works? i tryed several ways but i cant get it to work. the first one is a example of what i tryed . how can i make this work?
Looks over complicated to me. Why use switches AND checkboxes?
Try this: