Turn on/off Lamp from Dashboard

Turn on/off Lamp from Dashboard

@Fedrik fed

Hii i am new here and I am looking a method to create a widget or something else that able to turn on/ off a sensor (let say a Lamp sensor) is there any method to do that in tago dashboard or the method will depend on the sensor I use to connected into tago dashboard?