After a recent Sonos firmware update (OS S2, Build 82.00.45-release 20260211), calling SetAlarm() in node-sonos (v1.14.3) intermittently throws the exception:
TypeError: Cannot convert object to primitive value
at .../node_modules/sonos/lib/services/Service.js:51
messageBody += <${key}>${variables[key]}</${key}>