I have an already working heating system based on a microcontroller. This handles all the thermostat parts, turns on and off the heating and measures the temperature. These data are reported to the network on MQTT, and accepts commands on changing the target temperature on MQTT as well.
I’d like to create a thermostat module on the dashboard, that sends the target temperature on change, and shows if the heater is on in the moment based on MQTT messages.
I could not figure out how to do this in a nice way. My current solution is to have an input number, and I automated it using NodeRED, but input number does not have a nice card on the dashboard.