Add checkbox to control autodim on AC

Signed-off-by: Michael Buesch <m@bues.ch>