I gave up on OH 2.3 Unit of Measure (UM)

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.

5 Likes