Lux endpoint for controlling lights