Setting up multiple / complex automation

I can recommend schedy:

This is a nice app for homeassistant which is made for controlling heaters. It is maybe a little bit more complicated then a simple automation, but it can do a lot more.