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