Rule machine somehow switched comparing temperature from Celsius to Fahrenheit

Hi , i used a complex rule to control for how long to heat up my boiler based on outside temperature.
While not perfect it worked for about a year. However after one or recent firmware updates it stopped to work properly and after investigation i found out that this is probably due the fact that rule machine rule comparing temperature in Fahrenheit (F) , while hub configured to do Celsius and the temperature sensor returns celsius.
And i see no way to change that, in rule i can edit number value for temperature but not units.

Rule Machine doesn't do any conversion. It's got to be something with your device. You'll need to share more information to get help, but for rules, sharing the rule itself and all logs for the rule (with logging enabled) is a good place to start. In your case, I'd also check out the devices you're using or wherever the temperature is coming from, though it's hard to say more without the rule itself.

Yes i digged in a bit more and it looks like not Time Machine problem, it getting wrong values. The “funny” thing that the value sensor reports seems ok in C , while it looks like “something” doing double conversion, like assuming that values in F and converting them to C , resulting obviously in lower value