How to bring data from node-red to hass?

Hi,

i created a flow to manage my energy within the house, including awattar prices … but now i want to integrate the acual price into the energy dashboard, so i though it would be easy to just read out the actual price in the flow and bring it to hass … but till now i just used existing sensors/events from hass that already existed to switch loads and so … but now i need a sensor that is not there yet in order to be able to write the actual price to it … something like sensor.awattar_actual in order to use it for the price in my energie dashboard … but how can i do that i did not find any tutorial … or am i jus missing the obvious?

I basically use a function to build a string from the data then use the sensor node to make a sensor entity in Home Assistant.

Look at my post here about a dynamic sensor from NodeRed.

thx that worked fine, the “sensor node” does only work with another plugin which is just avaliable via HACS so i just went with the API Variant from WallyR and it works fine.

thx alot