As an option, what I did was to split the notifications out. It messes up the one piston approach but it is relatively clean. In the piston I just update 3 global variables:
Then this simple piston will update with any changes and do the notification:
The rest of the piston can be unchanged. Since it is now just a ‘set variable’ command, you could put it inside your every and update every time new API data is pulled. My situation is little different since I have already removed the ‘every’.