Hi.
I have a Nest thermostat in kids room but I would like to turn it on and off according to the temperature of another xiaomi temperature sensor that I have, which is in a different room (study).
I tried to create a generic thermostat and put the target_sensor to be my xiaomi temperature sensor, but I cant figure out what to do for the heater switch.
climate:
- platform: generic_thermostat
name: Study
heater: switch.study_heater #???????
target_sensor: sensor.xiaomi_temperature
This is my nest thermostat:
Thank you community!