Hello, I’d like to confirm a few things

Hello, I’d like to confirm a few things.

With:

  • Hue bulb
  • Traditional non-smart switch
  • Hue Essentials app → Devices → Automation → set to switch off light after being turned on for 45 minutes

When does the 45-minute countdown reset?

  • Turning the light off or on using the physical traditional non-smart switch
  • Turning the light off or on using the Hue app
  • Turning the light off or on using the Hue Essentials app
  • Mixed combination of the above (a total of 9 combinations including the above 3)

Becuase sometimes the light turns right off, after just switch on the physical traditional non-smart switch, and wasn’t sure what causes it, and if it is the way how I set it up or how I was using it.