I use a morning script that, among other things, turns the heat up. Lately it has been throwing this error:
Error: Unable to set value 12-64-0-mode: unknown_error: TypeError: resp.toSupervisionResult is not a function at Driver.sendSupervisedCommand (file:///usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:7372:15) at Driver.sendCommand (file:///usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:7413:19) at Proxy. (file:///usr/src/node_modules/@zwave-js/cc/src/cc/ThermostatModeCC.ts:100:19) at ZWaveNode.setValue (file:///usr/src/node_modules/zwave-js/src/lib/node/Node.ts:557:19) at NodeMessageHandler.handle (file:///usr/src/node_modules/@zwave-js/server/dist-esm/lib/node/message_handler.js:23:32) at Client.receiveMessage (file:///usr/src/node_modules/@zwave-js/server/dist-esm/lib/server.js:134:62)
The odd thing is, if I execute the step manually from the script page, it works every time. Executing the entire script manually also works, from the script page or by voice command. It only fails on the first attempt of the day, early in the morning. The thermostat is in heat mode with a set point of 62 at night.
The thermostat is a Honeywell TH6320ZW connected by z-wave. All software is the latest version.
But, my automation uses entity_id and has never not worked. A different device than you have, but it is Z-Wave. I am using Z-Wave JS UI. But just switched from Z-Wave JS less than a month ago.
I have a different Honeywell thermostat and occasionally a call to set the temperature fails. I use the Retry custom integration to work around the issue.