How to use next alarm sensor

Funny. I never encountered this desync issue because my wakeup routine goes off 10 seconds before the alarm sensor data is deleted, so as to give the speaker time to wake up and begin streaming.

Hi all. Not know is there right place to ask.

I need to get my S24.next_alarm sensor information this format:

  1. I need only alarm clock alarms, not any other alarm (example calender etc). (Developers tools → States i founded next alarm sensor give “state attributes” Package: com.google.android.deskclock, when use alarm clock)
  2. How i get only this alarm clock alarm easy format to use on node-red or HA own automations if that easier method.

Hopefully someone can help with this problem :slight_smile:

Use the filter in the companion app sensor settings.

Not understand what you mean. If i go that companion app settings, manage sensors and search Next alarm. There is no filter or settings, just i can decide is that sensor enabled or disabled?

At the very bottom of the page there is a filter

1 Like

Thank you so much! I finally got this to work for me, but only by using “- something*60”. So I put your piece of modified code directly as the template type of trigger.

As others have stated, my automations also didn’t trigger when the time was set exactly on or after the actual alarm due to the sensor becoming unavailable.

In my case, I actually DID want to soft-ramp my lights 10 minutes before the actual alarm, so this works perfectly for me.

1 Like

Hi Thomas
Did you solve this “problem”? I’ve the same issue.
THX