I followed the awesome advice here to get instantaneous syncing of my Harmony activity virtual switches in ST as Harmony starts activities:
But even though the switches themselves updated, the “Harmony Hub” device itself did not update its currentActivity until either the next refresh cycle or a manual refresh. I wrote this simple piston to force it to stay in sync with the activity start/end.