I just start with node Red and succeed to replace My two first automation with it by myself.
But for the third one, I’m stuck. The goal of my automation is to calculate me every day my Photovoltaic installation rentability. For that I get some entity value (like production of the day, or injection of the day) and make some calcul on it before including it in an input number.
The beginning seem ok and I succed to get an entity value and put it in a msg.paylaod, but I can’t put that value in an input number.
the first node get the value of an entity and put it in a msg:payload. Here is the configuration.
When I put a debug node, I see that in output I got my value, but I can’t put it in the node after with is a “call service node”
Here is the output, can you help me ??
Here is the export code
‘’’
[{“id”:“9a909b39a4461fd8”,“type”:“api-call-service”,“z”:“370498520635ddac”,“name”:"",“server”:“8c78604e.10a8f”,“version”:5,“debugenabled”:false,“domain”:“input_number”,“service”:“set_value”,“areaId”:[],“deviceId”:[],“entityId”:[“input_number.production_veille”],“data”:"",“dataType”:“jsonata”,“mergeContext”:"",“mustacheAltTags”:false,“outputProperties”:[],“queue”:“none”,“x”:790,“y”:60,“wires”:[[“ef9ffe303f055edd”]]},{“id”:“8c78604e.10a8f”,“type”:“server”,“name”:“Home Assistant”,“addon”:true}]
‘’’