I have created the following template to create a sensor that changes the temperature sensor being targeted by a thermostat depending on the time of the day, then have the generic_thermostat set it as the targeted sensor. The developer tools template is returning the named sensor, and I believe it should return a temperature of that sensor instead (integer). Any ideas on how to fix this?