jhonatansossa / SmartRoomFrontend

1 stars 0 forks source link

Allow the user to change the switches status (1) #9

Open jhonatansossa opened 11 months ago

jhonatansossa commented 11 months ago

Currently the state of the switches is being changed in a static way in the DetailedSwitch.js view. It should be done dynamically (the user should be able to change the state of all switches) using the backend endpoint /devices/items/{thingid}/{itemid}/state