Receiving "invalid operand type" on "increased by over" and "decreased by over" triggers on a rule

I am on the latest firmware as well and started seeing this issues a few days ago

And it seems like the same issue, power being reported as string
image

I did some more digging, and in the custom driver I posted above, it looks like an attribute for wind_gust may be missing, so is it possible that upon trigger creation the “null” value is being produced due to a lack of attribute type being specified?

Not sure how that explains my thermostat test initially, but I did try that one again and am now getting the big decimal same as you.

1 Like

@brad I'm having the exact same problem with OpenWeatherMap alerts driver you're using as well.

Are you using Custom Attribute for these? That could explain the problem. I believe Custom Attribute defaults to String, but I'll have to check. The driver must define the correct type for the attribute.

Same problem here. I modified a rule, changing it from triggering on changed temperature to increased by 1 temperature.
C8 on 2.3.6.144
Samsung Zigbee button using built in Samsung Zigbee button driver.

Edit:
my application state is different.
NAME p.130:temperature TYPE java.math.BigDecimal VALUE 68.17
NAME p.PB TYPE String VALUE true
Error Log entry: invalid operand type for 68.17(number) decreased by over 1.0(number)

Are you using Custom Attribute?

Yep. Isn’t that the only way to add wind_gust since it can’t be aligned to a standard attribute in HE?

See Known Issues in Release 2.3.6.144

1 Like

Since I don’t know what that is, I’m going with no. :wink:

I think what Bruce is referring to is, when you setup the trigger in your rule, are you selecting custom attribute in the first drop-down, or temperature?

I selected temperature.

I'm having same issue with Aqara mutisensors (triggering on increasing and decreasing humidity to control bath exhaust fans) which worked great until after a hub update (not sure which one broke it, but release notes mention changes in this area). I tried recreating the triggers using "decreased by over" instead of just "decreasing", but errors persist (original errors had "string" instead of "number" at end of error message).

Regarding the "know issues", I am seeing this error even though I am not using a custom attribute.

Please show the rule in question.

Here are the log entries. I paused the rule after these showed up.

I also created a test rule which generates the same error.