Setting Up a Dashboard Switch to Control HUE Scenes and Disable 'Adaptive Lighting'

Hello everyone,

I have a query regarding the integration of my HUE lamps into Home Assistant. All my lamps are connected via the Hue Bridge and I am using the ‘Adaptive Lighting’ feature. I would like to set up a switch on my dashboard that performs the following actions: Disable the ‘Adaptive Lighting’ feature for all connected lamps and simultaneously light up the lamps that are already on with a specific HUE scene. Additionally, any lamps that are turned on after activating the switch should automatically light up in the same HUE scene. Can anyone assist me with how to implement this? Thanks in advance!