Cannot cast object '[x:857,y:49,z:570]' used to work before Hubitat v0.3.114


My dogs are getting hungry since the notifications that they have not been fed are not working :smile: I have the sensor on the dog food container lid to detect when it opens.

This piston worked on ST and Hubitat before I upgraded to v0.3.114 on Hubitat
The device is a SmartThings Multipurpose Sensor V5 IM6001-MPP
Backup code: gvw6

The offending line of code is:
{{[Dog Food : axisY]}} rises above 400

The resulting logs are:
1/6/2023, 10:23:37 PM +224ms

+3ms â•”Received event [Dog Food].threeAxis = [x:832,y:582,z:-117] with a delay of 22ms, canQueue: true, calledMyself: false

+26ms â•‘RunTime initialize > 26 LockT > 0ms > r9T > 20ms > pistonT > 18ms (first state access 2 m:6 3 23)
+31ms â•‘Runtime (5744 bytes) initialized in 20ms (v0.3.114.20230103_HE)
+33ms â•‘â•”Execution stage started
+117ms ║║Error calling comparison comp_rises_above: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object ‘[x:832,y:582,z:-117]’ with class ‘java.lang.String’ to class 'java.util.Map’
+145ms â•‘â•‘Condition #2 evaluated false (110ms)
+146ms â•‘â•‘Condition group #1 evaluated false (condition did not change) (111ms)
+148ms â•‘â•šExecution stage complete. (116ms)
+150ms â•šEvent processed successfully (149ms)


Sorry for the hassle.

Do you mind showing me the device attributes settings for the device (ie threeAxis in the device page)?


Did you mean I need to use a tool to read all the device settings not exposed by the driver?


ok repair again, I think I found it.


Resolved. Thanks for fixing this.

2023-01-09 04:15:59.250 PMdebugReleased Lock and exiting
app:3022023-01-09 04:15:59.212 PMinfo â•‘â•‘ Success 562