Block Input Override not working?

I have the following:

image

[{"id":"8b11624468d13149","type":"inject","z":"8b43de8505f17be7","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":820,"wires":[["8151896fb3d52955","0f2370621e6cb12e"]]},{"id":"8151896fb3d52955","type":"api-current-state","z":"8b43de8505f17be7","name":"MXB Garage Open?","server":"f3f422ce.9f2a6","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"binary_sensor.mxb_garage_door_door","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload.data.message","propertyType":"msg","value":"Marks garage door is open","valueType":"str"}],"for":0,"forType":"num","forUnits":"minutes","x":340,"y":820,"wires":[["6a5ab4da09d323b5"],[]]},{"id":"0f2370621e6cb12e","type":"debug","z":"8b43de8505f17be7","name":"debug 11","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":300,"y":880,"wires":[]},{"id":"6a5ab4da09d323b5","type":"debug","z":"8b43de8505f17be7","name":"debug 12","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":540,"y":820,"wires":[]},{"id":"f3f422ce.9f2a6","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]

I get the same result if Block Input Overrides is checked or unchecked in the Current State Node. I thought msg.payload for debug 12 would be the value set in the Current State Node if Block Input Overrides is checked:

image

Node-Red 14.1.4
Home Assistant 2023.4.2
Supervisor 2023.04.0
Operating System 9.5

Block input overrides stop the current node from accepting changes to it config from an input. It does nothing about the msg object.

In the current state node you’re trying to set msg.payload.data but msg.payload has already been set to a number in the inject node. You can’t set an object property to a number. You would need to first set msg.payload to an object.

msg.payload = {"data": "Marks garage door is open"}

That was a total miss on my part. Thanks very much!