Lights & music transitions

(this is my first look at HA…)
My first wish is to create automations triggered by motion detectors that initiate lights and music to fade up or down over a definable time - can this be done using HA ?


  1. Motion detected - Fade lights and music volume to 100% over 5 seconds
  2. No motion detected for 2 minutes - Fade lights and music volume to 0% over 5 minutes

I am hoping I have finally found a system that can fulfil my needs and open many more possibilities…