message: fix: ensure args is array when calling api with mqtt
  Fixes
diff: @@ -443,7 +443,17 @@ function onHassStatus (online) {
  async function onApiRequest (topic, apiName, payload) {
  if (this.zwave) {
  const args = payload.args || []
  - const result = await this.zwave.callApi(apiName, ...args)
  +
  + let result
  +
  + if (Array.isArray(args)) {
  + result = await this.zwave.callApi(apiName, ...args)
  + } else {
  + result = {
  + success: false,
  + message: 'Args must be an array'
  + }
  + }
  this.mqtt.publish(topic, result)
  } else {
  logger.error(`Requested Zwave api ${apiName} doesn't exist`)
  