Homey Community Forum

React on variable change, except “Empty”


#1

Hi!
I’m trying to make a flow that starts Kodi when a variable (with the movie name) is changed.
But I also need to reset it somehow, so the same movie can get triggered again. But changing the variable would then of course restart the flow…

I know the current example won’t work, but basically I want to check if Harmony-Activity is On, and if not turn on and then start Movie. But I also want to make sure it doesn’t try to start with a variable that isn’t a movie (Empty).

How can I do this? (Btw notice “doet not contain”)


#2

I’ll need to break up the “then/else” to start another flow I guess, and do a new check there for activity Kodi started or not.