how can add a text before a item state?
That’s works:
- component: oh-list-item
config:
title: = (items[props.AsIsTempItem].displayState) + "°C"
But I want to start with a text like “Current temp is 15 °C”:
- component: oh-list-item
config:
title: "Current temp is " + = (items[props.AsIsTempItem].displayState) + "°C"
But that is not working
Which is the correct syntax?