I’m trying to create an automation, triggered by webhook, that reacts differently based on the content of the json content.
The automation shall fire when the webhook gets called (easy part).
Within the automation, a simple if else statement shall check the variable ‘action’ from the web request and then do different things (for example, play/pause media).
I’ve been looking for hours now to find someone who had a similar problem before, but I think I’m always one wrong char in syntax away from the right solution.