I have just started to use the next_alarm sensor in the app, and didn’t understand why it did not behave as I expected. Now I have figured out why, but need some help to solve it.
My problem is that both my alarm clock and my calendar sets alarms. So when I check in HA when my next alarms is, I sometimes get the next calendar alarm. Which is not what I want. So I used the filter funtion to only include my alarm app package. Then I saw this behaviour:
- I set two alarms, at 07:00 and 09:00. HA correctly displays 07:00
- I disable that alarm, and expect to see 09:00. But HA remains at 07:00
Thought this was strange, but when I read the info text I understand that the problem is that there is a calendar alarm at 08:00. So when I disable the 07:00 alarm, the next alarm is the calender alarm. This is filtered out, and no update is sent to HA. So HA still believes I will wake up at 07:00, even though there is no alarm then.
Has anybody solved how to only the get the alarms from the clock, when also having calendar alarms in the phone?