Demand response through advanced lighting controls