How to optimise your home automation system for energy savings