Triggering the new HA reload from NR - SOLVED

Hi all,
With HA release 0.104 they have introduced the option to reload certain config elements without rebooting the installation such as input_text, input_boolean ect…

Running input_text.reload from the developer/services page in HA works a treat;
How can I do this within NodeRed?

I want to run ‘reload’ over all reloadable elements from a single inject node.
I’ve tried ‘call service’ and ‘fire event’ nodes with a simple inject node to fire them but nothing is working.
Thanks,

[{"id":"e17bd933.9826d8","type":"ha-fire-event","z":"573fee3d.4152f","name":"Reload","server":"c8eb62f2.32f1f","event":"input_text.reload","data":"","dataType":"json","x":247,"y":986,"wires":[[]]},{"id":"a50b501b.4829d","type":"inject","z":"573fee3d.4152f","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"10","crontab":"","once":false,"onceDelay":0.1,"x":100,"y":952,"wires":[["e17bd933.9826d8","5460dd15.a79714","a2a36588.135b78"]]},{"id":"c8eb62f2.32f1f","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

This is what it looks like in HA
Capture

You should use a call service node not a fire event node. :smiley:

This is what it looks like in HA
Capture

Hi, I’ve tried both Service Call and Event,
This is what I have but still no joy…

[{"id":"a50b501b.4829d","type":"inject","z":"573fee3d.4152f","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":128,"y":1037,"wires":[["e17bd933.9826d8","5460dd15.a79714","a2a36588.135b78"]]},{"id":"a2a36588.135b78","type":"api-call-service","z":"573fee3d.4152f","name":"","server":"c8eb62f2.32f1f","version":1,"debugenabled":false,"service_domain":"input_text","service":"reload","entityId":"input_text.reload","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":355,"y":1037,"wires":[[]]},{"id":"c8eb62f2.32f1f","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

SOLVED:
Use a call service node as below:
Capture

And here’s my flow to to reload all input_*
It’s a lot quicker than rebooting all the time.

[{"id":"a50b501b.4829d","type":"inject","z":"573fee3d.4152f","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":128,"y":1037,"wires":[["a2a36588.135b78","c9e04fc7.54e28","eb575d4a.9a4b5","87f5e4fc.941b58"]]},{"id":"f49a90e7.401a3","type":"comment","z":"573fee3d.4152f","name":"Trigger to reload all input variable lists","info":"","x":201,"y":1003,"wires":[]},{"id":"a2a36588.135b78","type":"api-call-service","z":"573fee3d.4152f","name":"HA Reload text","server":"c8eb62f2.32f1f","version":1,"debugenabled":false,"service_domain":"input_text","service":"reload","entityId":"","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":335,"y":1037,"wires":[[]]},{"id":"c9e04fc7.54e28","type":"api-call-service","z":"573fee3d.4152f","name":"HA Reload boolean","server":"c8eb62f2.32f1f","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"reload","entityId":"","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":345,"y":1088,"wires":[[]]},{"id":"87f5e4fc.941b58","type":"api-call-service","z":"573fee3d.4152f","name":"HA Reload number","server":"c8eb62f2.32f1f","version":1,"debugenabled":false,"service_domain":"input_number","service":"reload","entityId":"","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":345,"y":1139,"wires":[[]]},{"id":"eb575d4a.9a4b5","type":"api-call-service","z":"573fee3d.4152f","name":"HA Reload select","server":"c8eb62f2.32f1f","version":1,"debugenabled":false,"service_domain":"input_select","service":"reload","entityId":"","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":345,"y":1190,"wires":[[]]},{"id":"c8eb62f2.32f1f","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]