Hi All,
I have a couple of wifi/mqtt-thermostats and want to control them with HA.
They are accessible through MQTT and I wanted to add them through MQTT Autodiscover to my HA.
I’ve already managed to get the actual temperature with an sensor.
However, I can not figure out how to create a entity that is able to send/receive the value (similar to light-brightness / similar to node-red’s slider control).
You could create an input_number. It appears as a slider in the Lovelace UI. Then you would need to create an automation that monitors the input_slider’s value and publishes it to your desired MQTT topic.
Or you could use MQTT HVAC which combines the MQTT temperature sensor you have created, a means to control the temperature, and much more, all in one integration.