Hey guys, I’m using Home Assistant to set alarms on my phone and its working fine. I can set alarm time with a message using this string in my yaml file:

"android.intent.extra.alarm.HOUR:{{8}},android.intent.extra.alarm.MINUTES:{{15}},android.intent.extra.alarm.SKIP_UI:true,android.intent.extra.alarm.MESSAGE:Take Medication"

Now I’d like to add a daily repeat or for example repeat every Wednesday. From the same source I found it should be possible using EXTRA_DAYS. I couldn’t find any example so I was trying every combination that came to my mind like:

android.intent.extra.alarm.DAYS:{{Calendar.SATURDAY, Calendar.WEDNESDAY}}
android.intent.extra.alarm.DAYS:{{ [Calendar.SATURDAY, Calendar.WEDNESDAY] }}
android.intent.extra.alarm.DAYS:[Calendar.SATURDAY, Calendar.WEDNESDAY]
etc.

How to shape that android.intent.extra.alarm.DAYS properly? Documentation says the values should be ArrayList<Integer>:

Documentation is on this link

    • @rambosOP
      link
      English
      11 year ago

      Thanks for link, but yes I have. That’s the one I actually found first for HA and it is super nice. It is impossible to set reminder every 2 days for example unfortunately. I figured how to make my own automation with that option, but as I said above, notifications are working most of the time, and not if your phone has no signal (basement or airplane mode). That’s why I’m testing out notification alternatives. I was looking how to make a blueprint, but they don’t support all perks I want in my automation so I had to stick with packages.