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
The Edit Action Node does not obey the "Block input overrides" checkbox for data attributes.
To Reproduce
Create a node and complete all the entry items. For example:
Server:
Action: select.select_option
Target entity: select.my_entity_id
Data: {"option": "my option value"}
Show debug information: Checked
Block input overrides: Checked
Create an inbound inject node, and set payload overrides (expecting them to be blocked).
msg.payload = {"action": "light.turn_on", "data":{"kelvin":2700}}
Deploy and run.
Expected behavior
The Action Node is expected to block or otherwise ignore any inbound attributes in msg.payload.
It DOES ignore the inbound payload action: light.turn_on and properly sends "select.select_option"
It DOES NOT ignore the inbound payload data: {data:{kelvin:2700}} and improperly sends that instead of {option: "my option value"}
Describe the bug
The Edit Action Node does not obey the "Block input overrides" checkbox for data attributes.
To Reproduce
Create a node and complete all the entry items. For example:
Server:
Action: select.select_option
Target entity: select.my_entity_id
Data: {"option": "my option value"}
Show debug information: Checked
Block input overrides: Checked
Create an inbound inject node, and set payload overrides (expecting them to be blocked).
msg.payload = {"action": "light.turn_on", "data":{"kelvin":2700}}
Deploy and run.
Expected behavior
The Action Node is expected to block or otherwise ignore any inbound attributes in msg.payload.
It DOES ignore the inbound payload action: light.turn_on and properly sends "select.select_option"
It DOES NOT ignore the inbound payload data: {data:{kelvin:2700}} and improperly sends that instead of {option: "my option value"}
Screenshots
No response
Example Flow
Environment Information
Version: 0.73.0
Home Assistant version: 2024.10.1
Companion version: 0.0.0
Node-RED version: 4.0.3
Docker: yes
Add-on: no
Node.js version: v20.17.0 x64 linux
OS: Linux 6.5.13-1-pve x64
Additional context
No response
The text was updated successfully, but these errors were encountered: