There seems to be a bug in this platform when you use the “Any Component / Switch” blocks.
If you use (Component) this to minimize the number of blocks needed in your app, The data written to a Realtime DB is shown as a long string of numbers and letters. If you specify the specific switch you are changing, the data is written as the switch name (i.e. Switch1, Switch2, Switch3).
The issue is, if you use “Component” instead of the “switch name” (i.e. Switch1), you cannot put the data from the database and display the switch value when the app opens. Your switch value will be grey and off. Use the switch name and the value of the switch is displayed correctly. Can the code of this component be modified to write the component name instead of the long string of numbers and letters? This would solve a big problem. See the screen prints below.