So here are the flows to set the raditor valved to a set temperature at the moment this uses hard coded values of 18 for the set value but this is what will be changed with the information you have already provided to use the input value entity.
The flow used the following entities
input_boolean.study_radiator_on_off
climate.study_radiator_valve
I have several valves in different rooms and the input_boolean indicates if the heating sould be on in this room.
This is controled by some other automations to allow different room combnations and request heat from the boiler. (this works well)
Climate is the radiator valve which is controled through tuya.
If the valve is requested to be on the counter is tre set and it tries to set and check the valve 5 times before sending the debug message (to be replaced with the service to reload the tuya integration)
[{"id":"cd01172c785acc0a","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"805231ca60969fa4","type":"api-call-service","z":"cd01172c785acc0a","name":"Study trv set temp","server":"db0ede28.3ef47","version":5,"debugenabled":false,"domain":"climate","service":"set_temperature","areaId":[],"deviceId":[],"entityId":["climate.study_radiator_valve"],"data":"{\"temperature\": 18}","dataType":"json","mergeContext":"","mustacheAltTags":true,"outputProperties":[],"queue":"none","x":510,"y":200,"wires":[["cfbbad871d25ea63"]]},{"id":"bcb0c841a7535880","type":"api-call-service","z":"cd01172c785acc0a","name":"Study trv set off","server":"db0ede28.3ef47","version":5,"debugenabled":false,"domain":"climate","service":"set_temperature","areaId":[],"deviceId":[],"entityId":["climate.study_radiator_valve"],"data":"{\"temperature\": 6}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":480,"y":480,"wires":[["55432f3aedbe6646"]]},{"id":"8e81eb2ab2a59af3","type":"server-state-changed","z":"cd01172c785acc0a","name":"Study rad on/off","server":"db0ede28.3ef47","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.study_radiator_on_off","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"5","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":220,"y":120,"wires":[["805231ca60969fa4","7cc2daa88793497c"],[]]},{"id":"7dcb3d1c5b5722ed","type":"server-state-changed","z":"cd01172c785acc0a","name":"Study rad on/off","server":"db0ede28.3ef47","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.study_radiator_on_off","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"off","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"5","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":220,"y":380,"wires":[["bcb0c841a7535880","610e2f5cc631e57d"],[]]},{"id":"cfbbad871d25ea63","type":"delay","z":"cd01172c785acc0a","name":"","pauseType":"delay","timeout":"10","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":700,"y":200,"wires":[["04910f986456cfea"]]},{"id":"b5b2674ff013fce2","type":"api-current-state","z":"cd01172c785acc0a","name":"Study TRV current state","server":"db0ede28.3ef47","version":3,"outputs":1,"halt_if":"","halt_if_type":"num","halt_if_compare":"is","entity_id":"climate.study_radiator_valve","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1130,"y":200,"wires":[["7ee03fa8b4c4eb4f"]]},{"id":"7ee03fa8b4c4eb4f","type":"switch","z":"cd01172c785acc0a","name":"","property":"data.attributes.temperature","propertyType":"msg","rules":[{"t":"neq","v":"18","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1350,"y":200,"wires":[["b5c9c9c81e2ed351"]]},{"id":"b5c9c9c81e2ed351","type":"counter","z":"cd01172c785acc0a","name":"retry Count","init":"0","step":"1","lower":"","upper":"5","mode":"increment","outputs":"1","x":1570,"y":200,"wires":[["a8cc4d6877902191"]]},{"id":"a8cc4d6877902191","type":"switch","z":"cd01172c785acc0a","name":"","property":"count","propertyType":"msg","rules":[{"t":"eq","v":"5","vt":"str"},{"t":"lt","v":"5","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1790,"y":280,"wires":[["4256c71f8a1a44f2"],["805231ca60969fa4"]]},{"id":"7cc2daa88793497c","type":"function","z":"cd01172c785acc0a","name":"msg object","func":"msg.reset = true;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1350,"y":120,"wires":[["b5c9c9c81e2ed351"]]},{"id":"04910f986456cfea","type":"api-current-state","z":"cd01172c785acc0a","name":"Study rad on","server":"db0ede28.3ef47","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.study_radiator_on_off","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":890,"y":200,"wires":[["b5b2674ff013fce2"],[]]},{"id":"55432f3aedbe6646","type":"delay","z":"cd01172c785acc0a","name":"","pauseType":"delay","timeout":"10","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":700,"y":480,"wires":[["0adacc97960e1b1e"]]},{"id":"7e219726b134c5c8","type":"api-current-state","z":"cd01172c785acc0a","name":"Study TRV current state","server":"db0ede28.3ef47","version":3,"outputs":1,"halt_if":"","halt_if_type":"jsonata","halt_if_compare":"is","entity_id":"climate.study_radiator_valve","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1130,"y":480,"wires":[["4e8eb54f35bae380"]]},{"id":"4e8eb54f35bae380","type":"switch","z":"cd01172c785acc0a","name":"","property":"data.attributes.temperature","propertyType":"msg","rules":[{"t":"neq","v":"6","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":1350,"y":480,"wires":[["983ad9cbba8dbbb1"]]},{"id":"983ad9cbba8dbbb1","type":"counter","z":"cd01172c785acc0a","name":"retry Count","init":"0","step":"1","lower":"","upper":"5","mode":"increment","outputs":"1","x":1550,"y":480,"wires":[["e0fa5f68756d8b0c"]]},{"id":"e0fa5f68756d8b0c","type":"switch","z":"cd01172c785acc0a","name":"","property":"count","propertyType":"msg","rules":[{"t":"eq","v":"5","vt":"str"},{"t":"lt","v":"5","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1770,"y":560,"wires":[["f09e7dea6482ff7a"],["bcb0c841a7535880"]]},{"id":"610e2f5cc631e57d","type":"function","z":"cd01172c785acc0a","name":"msg object","func":"msg.reset = true;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1350,"y":380,"wires":[["983ad9cbba8dbbb1"]]},{"id":"0adacc97960e1b1e","type":"api-current-state","z":"cd01172c785acc0a","name":"Study rad on","server":"db0ede28.3ef47","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.study_radiator_on_off","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":890,"y":480,"wires":[[],["7e219726b134c5c8"]]},{"id":"4256c71f8a1a44f2","type":"debug","z":"cd01172c785acc0a","name":"debug 22","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":2020,"y":280,"wires":[]},{"id":"f09e7dea6482ff7a","type":"debug","z":"cd01172c785acc0a","name":"debug 23","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":2020,"y":560,"wires":[]},{"id":"db0ede28.3ef47","type":"server","name":"Home Assistant","version":4,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m"}]
Can using node red with Tuya get the values back into the climate entity without the need for the integration.