Custom Thermostat from a TRV

Hello all!
I’m using Zigbee2MQTT and i have a Sonoff TRV
The issue is that if i use the Sonoff TRV thermostat card the thermostat sensor is inside the TRV and the temperature is getting up pretty quickly.
I have another temperature sensor inside the room and i was wondering is there a way to use the thermostat sensor that it’s not inside the TRV, but the one i have separately (it’s this one.

I tried using generic_thermostat, but it requires on/off switch and the TRV doesn’t have it.

I have another idea to make a flow inside nodeRED using min/max custom values and to have a check every 5 mins if the temperature is below MIN start the TRV and set occupied_heating_setpoint it to max (35) if the temperature is above MIN set occupied_heating_setpoint to min

I think you should look at https://better-thermostat.org/ or GitHub - jmcollin78/versatile_thermostat: A full featured Thermostat for Home Assistant: presets, window, motion, presence and overpowering management

I’m not using because i haven’t TRV but they seem to do what you want :slight_smile: