I am using a custom device handler, that stores information in an attribute called “forecastFriday” for example.
I can get this info into webcore,straight away as [device:forecastFriday]. However does any one know if you can do something like this: [device:forecast{$dayofweekname}]
If I do that it returns device:Sunday. Unfortunately not the info stored in the attribute forecastSunday.
I’m just missing on the syntax I think. My other option is to use a case statement for each day of the week. But that is not as straight forward as I would like.
Any suggestions? Thanks