How to combine variables?

Hub = C8 pro

right now i display temp and humidity from sensors like this.

image

Text template to show "outside temp", "inside temp" etc
attribute template to display the numbers.

kinda looks crap IMO.

is there a way to combine variables so i can display things more neatly ? so like combine numbers and strings together?

end result will look like..

"Outside temp is 17 C".

So would have to do a variable combine, something like "outside temp is <temp value for sensor 1>"

There are quite a few options. One would be as you indicate. Create a hub variable, then create a rule machine rule to update the data as the values change.

There are also quite a few apps that will combine data into a single tile. A community search will help you find them. I haven’t look at these for a while now…

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.