changed 'percentage:' to 'level' for lights control