And hire a PROFESSIONAL INTEGRATOR to install and program a REAL control system...RTI, Savant, Crestron, Control4, URC, etc.
I have ZERO sympathy for people trying to do it on the cheap with whatever the hot flavor of the day is in automation. Nest screwed you? No, you kinda screwed yourself by buying an unproven product from a company with no history or experience.
But but but...these systems are EXPENSIVE! Well, the old saying goes, you get what you pay for. If you want a SMART home and not one with dementia, you hire a pro. Do it yourself? Well, you get what you get...and you deserve it.