I upgraded via the openhabian Config tool intending to run 3.2.0.RC1. In the UI it’s listed as Build #2640. Is this RC1?
Getting this new warning since upgrading from 3.0.1:
2021-12-19 08:09:57.720 [INFO ] [openhab.event.ChannelTriggeredEvent ] - logreader:reader:d019502abd:newWarningEvent triggered 2021-12-19 08:09:56.834 [WARN ] [le.handler.ItemStateConditionHandler] - Received a QuantityType state '64.454 °F' with unit for item Temperature_Outside, but the condition is defined as a plain number without unit (90), please consider adding a unit to the condition.
I tried removing the Item and re-creating it, which DID change the configuration from “Semantic Class: Point” and “Semantic Property: None” to “Semantic Class: Measurement” and “Semantic Property: Temperature”.
Both before and after are Type Number: Temperature.
I also removed the reference to these Items in the rule and recreated them after making the new Items.
I thought I WAS minding the purpose of the thread. This issue appeared when I upgraded.
I have now restored a backup of my 3.0.1 install, upgraded that to 3.1.1, verified that I did not have this issue, upgraded to 3.2.0.RC1, and verified that I now DO have this issue.
Yes as stated above I corrected the version I am using.
Your answer about the issue with the number makes sense except that there is no key on the keyboard to create the degree character (small circle). It’s a special character, right? I would think that since OH knows what units the Item is using it would default to those units when using the item in the rule. Is there some way to use that character that I’m not aware of so that I can just type it into the rule?
What makes you think it doesn’t do that? It’s just an INFO warning that assumptions are being made, which may not be correct, and it’s up to you to be more precise.
You can use cut and paste if that is easier than Kai’s method.
There are more than two choices for temperature, there is Kelvin which is commonly used by scientists world wide.
What about lengths? How would openHAB know what a random number is as it could be inches, Miles, feet, yard, or even the ‘chain’ measurement which are all Imperial. Speed is another one that is not clear, wind speed here is mostly used as Knotts over water, but often over land the wind is measured in km/hr. So it would be wrong to assume a Metric country only uses km/hr. Many countries and we all have our own version of the ‘right’ way that is not as simple as flicking a metric/imperial switch.
The only way to be consistent is to always specify what the unit is so that it is clear.