Help write the code to control the climate with a timer?

Буду очень признателен за помощь

Please use English so others can read your post too.

Я видел посты на Русском…

=))). Yeah but answers really may help other people. So if it is not hard for you - please use English.