You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"topic":"red/notify","qos":0,"retain":false,"_msgid":"27469928bfeb88cb","notify":{"destination":["bartosz"],"message":"example message","method":"ios","type":"normal","destinationApp":"mobile_app_iphone_bartosz"},"notify_payload":{"message":"example message","data":{}},"error":{"message":"InputError: Invalid action format: notify.","source":{"id":"854f481d.469568","type":"api-call-service","name":"IOS notify","count":1},"stack":"InputError: Invalid action format: notify.\n at ActionController.onInput (/data/node_modules/node-red-contrib-home-assistant-websocket/dist/nodes/action/ActionController.js:58:19)\n at ActionController._InputOutputController_preOnInput (/data/node_modules/node-red-contrib-home-assistant-websocket/dist/common/controllers/InputOutputController.js:61:76)\n at /usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:214:26\n at Object.trigger (/usr/src/node-red/node_modules/@node-red/util/lib/hooks.js:166:13)\n at Node._emitInput (/usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:206:11)\n at Node.emit (/usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:190:25)\n at Node.receive (/usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:499:10)\n at deliverMessageToDestination (/usr/src/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:803:40)\n at Immediate.<anonymous> (/usr/src/node-red/node_modules/@node-red/r..."}}
Same flow was working with previous version of node-red-contrib-home-assistant.
There's a current bug with mustache templates in the action field where the action property is converted to lowercase, causing variables with mixed or uppercase letters to fail.
Describe the bug
When trying to use mustache template in action, no action is triggered:
Used payload:
Same flow was working with previous version of node-red-contrib-home-assistant.
To Reproduce
No response
Expected behavior
No response
Screenshots
Example Flow
No response
Environment Information
node-red-contrib-home-assistant-websocket 0.74.2
node-red 4.0.5
home-assistant 2024.10.4
Additional context
No response
The text was updated successfully, but these errors were encountered: