Case help for string variable


Hi all! I am trying to create different events based on the weather. I am struggling with the case statement.
It works fine if I just say Case “Cloudy” for example. But the variable returns multiple types of cloudy weather, and I would like to include all of them in a single case statement.
What am I doing wrong?


I figured it out. Contains evaluates as boolean.


I would love to see your working piston :slight_smile:


Sure. Here it is.