Hi
im new in MIT APP and i have created 1 app to try and i use tinydb in my light switch automation i manage to save the state of button if it is on or off so even i closed and open again the apps it will show the button what is the last state before i close the app
now my problem is if my phone already swith on and i closed the apps and when my wife open his app the state not showing what was my last state in button made
can i use cloud db to update the state in multiple phones that install my controller?