I have a PC next to my bed and the lighting looks great during the day or when the lights are on, but is rather dazzling during lights out. I have grouped the rgb elements via openrgb and can control both color and brightness in HA as the entity light.pc_lighting. I also have a lux sensor in the room that measures from 0-50 Lux. I can find plenty of automation examples that increase a lights brightness as ambient light goes down, but not the opposite. Ideas would be awesome!!! I am also keen to alter the color based on time if I can get both to work simultaneously.