Hi there,
I am using an Amazon Echo Show to wake me up every morning at 6:30 on a regular workday basis. When the alarm rings, Home Assistant automatically opens my blinds in my sleeping room and switches on the lights behind my bed for one minute. To achieve this, I am using the Alexa Media Control Integration in combination with a respective template trigger. So far, so good.
In addition, I would like to deactivate my daily Alexa Alarm Clock when my iCloud Calendar says that the next day is a day off. I know that I can do so with the Alexa Media Control Integration by transferring to my Echo show the command “Cancel next alarm”.
However, if there is defined a longer holiday period within my iCloud Calendar, Home Assistant only can trigger on the beginning and the end of this period. Hence, I cannot use the Alexa Media Control Integration with the “Cancel next alarm” command, because the day after next day the alarm will wake me up again. Even Amazon Alexa has no built-in routine to do so. There is no possibility to deactivate a stored daily alarm for a certain period longer than one day.
One solution for my problem would be that the HA would be able to check a longer holiday period of my iCloud Calendar on a daily basis by defining a respective cron job. However, currently this is not possible as already mentioned. Another solution would be an Integration that is capable in reading more alexa entities. ioBroker, for instance, has such an Integration (there it is called Adapter), called alexa2. This Adapter can read all Alexa alarms an can deactivate or activate them. Hence, for HA this should be possible as well.
I would be very glad, if somebody has a solution for me. Thanks in advance.