Yes @ats1080s i have created a widget as you can see in the picture.
@bestes its ok i totally understand that you are having a lot to deal with iām using a relay actuator to control the pin. When i set in the gpio as an output it works smoothly but a reboot the initial pin state changes all to input leaving the widget useless. ( picture attached). its not a program fault because i have been reading that is the way raspberry gpio works and its the default state of the pins after a reboot, But i would be awesome if the interface could memorize the last pin state and after reboot set it again.
A solution that i found for now is to put a bash script running at boot that changes the pins to output/high and it is solved for now.