I know how to disable and activate Groups, but I thought doing it via functions would work just as well. I did not know that I can't use Every x seconds in a function, never came up in everything I read on functions so far...
I also just realized that in the first function there is an "Every x seconds" event. Would that be why it triggers at start of layout in spite of the disabled action to call it?
I'll have to get rid of all the functions for now until I learn them better. and work with groups instead, I guess.
Btw, if you have any links to any tutorials / articles of what one CAN'T do within a function would be really appreciated, as this never was a topic in everything I've read so far, which lead me to believe that any piece of code within the function will work. Btw, if you haven't noticed already I don't have a background in programming so please have mercy on me
Thanks again for the pointers!