Before switching to HA I have used the Philips Hue app where the logic for controlling all lights in a room is a bit different from HA.
If a subset of all lights were turned on in a room, and I issued a command in the Hue app to change the color or intensity using the controls visible in the following picture only the lights that already were turned on would change state:
In HA I have used (helper) groups to group lights in a room and be able to control them in a similar fashion. However, if I change the color or brightness all lights in the group will be affected regardless of their previous state. This means that some lights that were off would be turned on when I change the color or brightness for example.
Is it possible to get the Hue room control logic in HA?