Electricity and automation