Don’t give up and strip off units! Just use something like:
if (TemperatureItem.state >= 20|°C) {
// insert code here
}
See also Scripts & Rules in this Eclipse SmartHome blog.
Don’t give up and strip off units! Just use something like:
if (TemperatureItem.state >= 20|°C) {
// insert code here
}
See also Scripts & Rules in this Eclipse SmartHome blog.