This works great. However, I want to have multiple different versions of this, where the payload is the only thing that changes. I could make 5 or 6 versions of this service, but I noticed in the Android widget configuration options, there’s the ability to add new fields to the service call (via the ‘ADD FIELDS’ button).
However, I’ve been unable to discover what those extra fields do, and if data included in those fields would be usable in the service; ideally to replace the title/attributes/content values with ones provided by the fields. That way, I can keep having just one service, and instead make 5 or 6 different widgets on my phone, each with their own unique fields.
Is this possible? Or to put it another way; what do the fields in Android widgets do?
I added a custom field, but it had no effect. Looking at the HA logs, I didn’t see any difference either. The issue is that the rest service docs don’t mention anything about receiving data from a call either.