Dth coding question


#1

@Robin. I have a question regarding coding a dth.

Well. Since standard tiles can only use ${name} or ${currentValue}. I’m trying to find s single line of code to seperate the result into two different portions.

For example if I send event to the tile with this string ‘city, http:// blahblah ‘

Then pull city as the value and the http as the icon.

Treat it like an array I guess.


#2

We don’t get that functionality in tiles in afraid… they are super limited.


#3

Grrr. I figure out how to make the label dynamic though now need to make background dynamic or try


#4

Can’t be done… you can only change the icon / tile color based on tile state.