Short answer
Where to start in this group
Give every consequential routine an ordinary manual path and a visible way to cancel it. Measure before you automate — energy, climate and presence all produce confident numbers that are wrong when the underlying sensor is wrong — and keep locks, valves and heaters out of anything that guesses.