Hello,
i have following xml output to monitor:
<xyz> <a>1</a> <b>1</b> <c>1</c> <d>1</d> [...] </xyz>
so there are many channels.
I use the Rest Custom Sensor. If i select the standard "channel discovery" template i get "$["xyz"]["a"]" for example as the channel names.
How should i configure the new rest template to create all channels only with name "a" without the additional characters $ [ ] "
I can't create static channels in the rest template because the names differ for every new website and there are different amounts of channels per xml-site.
So the goal would be to create a rest template which considers dynamic channel names because the standard "channel discovery" template creates the additional characters $,[,],"
Or if you have other suggestions for other approaches feel free to share.
Kind regards
Add comment