Ambiant light control for home automation