Electricity retailers will be compelled to tell Canberra customers if they can get a better deal under a new law that passed in the ACT parliament today.