Invalid operand type

I am using a Zooz Zen15 and it is reporting power as a String. The rule engine obviously wont work. How do I fix this?

invalid operand type for 0.000(string) < 5.0(number)

The number could be converted to a numeral format in the driver - are you using the built-in (Hubitat) driver or a community driver? This will determine who can fix the issue… Also, you could switch from one to the other to see if it resolves the issue for you.

1 Like

Try this driver, see if it makes a difference: [DRIVER] Zooz Smart Plugs Advanced (ZEN04 / ZEN05 / ZEN14 / ZEN15)

Also, possibly you need to delete the attributes and let them be re-created with a proper driver. If you switch to the driver/type called "Device" there is a button to delete current state. Switch back to the normal driver and they will get repopulated as reports come in.

Is that rule trying to trigger every 2-3 milliseconds?

1 Like

Good point, the reporting on that ZEN15 is little aggressive, that's going to kill the mesh, I would adjust that a little bit.