I have a piston to tell me which Harmony Activity is running. Whenever an activity is running, the state is set correctly. However when that activity is off, the state should read “Harmony Is Off” in Bold and Red however it is not. This was working correctly before, but for some reason now it is not.
When evaluating the express, it does evaluate correctly, but the piston state does not show the change./
“[b,” + if([Family Room Harmony : currentActivity] != ‘–’, “limegreen”, “red”) + “|” + if([Family Room Harmony : currentActivity] != ‘–’ , [Family Room Harmony : currentActivity] " now playing" , “Harmony Is Off”) + “]”