Climate control

automation script

https://github.com/esphome/issues/issues/339