Change the hue lights color and dim lights when parameter is above a given value.