iOS alarm as a trigger

Is it possible to use iOS alarm configuration to trigger some events in HA?

In particular, 15-30min before alarm is about to go off, I’d like to start sunrise configuration with Philips HUE lights. This greatly helps with waking up.

In best case, enabling/disabling alarm on the phone would configure the automation in the HA.

Can this be done?

Today I handle this by setting the alarm and then setting the configuration in the Hue app, w/o using home assistant. Would be better if everything could be configured as soon as I set the phone alarm.

Hello,

we use the one in this topic to switch on our heating in good time before we wake up.

or also these

https://www.icloud.com/shortcuts/e4c36266cfc243128d53cc6a4778b997