SmartThings Community

Response() argument has to be a list

(George) #1

Have been having difficulties with response() not working, and have seen a number of dth’s out there which also seem to have this issue. Stumbled upon this –

These don’t seem to work (no hubaction):

response(zwave.batteryV1.batteryGet().format()) or response(zwave.wakeUpV2.wakeUpNoMoreInformation().format())

Have to do:

response([zwave.batteryV1.batteryGet().format()]) or response([zwave.wakeUpV2.wakeUpNoMoreInformation().format()])