Ventilation modbus RTU

I want to integrate ventilation ventik, working on the protocol modbus rtu in home assistant. My equipment is raspberry 4b with usb stick. I managed to change the speed, but I can’t set the target temperature, since it has the data type holding, and the current input. I wrote such code according to the modbus documentation. I see the current temperature, I can change the ventilation speed, but I can’t set the target. Can you help?


Why would you want to write the temp ?
Usually temperatures are only read especially from a ventilation unit.

Temperatures are set in thermostats…

Because the ventilation has an electric heater and it is necessary to record the target temperature so that it maintains it

AH, Thats a new one :wink:

Can you paste the complete yaml?

This is the full code. I have modified it a bit. Now I can control it and it works. Only it writes the current temperature incorrectly, 10 times more. If I use scale, the target temperature will be incorrect.