You don’t need all that parse-double-stringy stuff, just compare item.state
with another temperature, not a plain numeric. Apples with apples.
if (yourItem.state > 24.5 | °C) {
You don’t need all that parse-double-stringy stuff, just compare item.state
with another temperature, not a plain numeric. Apples with apples.
if (yourItem.state > 24.5 | °C) {