Slider MQTT Value

Hello everyone,

I hope this topic is correctly placed here; otherwise, please feel free to move it.

I have a problem for which I need your help. I have a Raspberry Pi that controls the water temperature via Node-RED. I would like to keep the control external so that we don’t have to take cold showers in case of a network outage. When Node-RED starts on the Raspberry Pi, there is a default value, and the temperature is then adjusted on a timed basis. I output the actual and target values via MQTT and can also display them in Home Assistant.

What I would like now is a slider (or something comparable) in Home Assistant that adjusts to the target temperature coming from Node-RED. Additionally, I want to be able to change the temperature using this slider until the next timer adjustment. Do you have any ideas on how I can best implement this? Can I possibly integrate a second Node-RED? There is already a Node-RED running on the Home Assistant server to receive values from my solar system.

Thank you in advance for your suggestions!

Best regards,
Frank