I’m trying to write a script which passes a temperature change from a TRV to another device.
The TRV entity is climate.bunk_room_trv and the state attribute is current_temperature.
I want to pass it to number.bunk_room_trv
All of the above parameters exist but I can’t find any examples close enough to make it work. The errors thrown up when I try to save the script aren’t very friendly and don’t point me to what I’m doing wrong.
This is simple, right?