I bought a Google Nest Hub (2nd gen.) to realise a simple light alarm clock. I would like to send the alarm times (there are different ones) to HomeAssistant so that I can use them to build a light alarm clock.
I also get the following variables via the integration leikoilja/ha-google-home:
I get the alarm clocks addressed temporarily. But unfortunately the order of the alarms in the Nest Hub is constantly changing. I would therefore like to reference the ‘alarm_id’. I just don’t know how.
I want to use the Blueprint ‘Wake-up light alarm with sunrise effect’. However, this requires a timestamp as input. I would now like to generate this timestamp from the set alarms of the Google Nest Hub.
I have 2 different alarms: one for my girlfriend and one for me.
When her alarm goes off, her light goes on, when my alarm goes off, my light goes on.
However, this only works if the time stamps I use for this can be clearly assigned to an alarm clock in the Google Home Hub. If they are constantly changing, it doesn’t work. So I would like to reference a unique feature in the attributes (e.g. the label).
Unfortunately, I can’t currently get this information from the attributes…
You can also do this with filters instead of looping. This is especially useful if you are trying to use the information for further processing in a template, because you will run into issues with the scope of variables in a for loop.