Ive ran into a wierd situation. Today (sunday) my automation was triggered for my alarm set on 8 am monday. I assume becuase the sensor will just read 8:00 and it triggered at 8:00 am regardless of the day. how can we make it have to match the day and time to trigger? same game with sensor.date?
edit: heres whats i came up with but it wasnt triggering. just gotta add the ‘date_time’ sensor sand then match it
my googlehome alarm broken this week. Any pointers from the errors
2019-06-14 10:32:56 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform googlehome
File “/usr/src/homeassistant/homeassistant/components/googlehome/sensor.py”, line 38, in async_setup_platform
Hey, it is actually possible to gain access to the Google Home local API again, but it’s a bit more hassle since it requires authentication by short-lived tokens now. Rithvik Vibhu has done some excellent work figuring out how to do this.
To integrate this back into Hass (I was using e.g. the alarms API for my wakeup light routine), I wrote a very simple bash script that can automatically retrieve these tokens and push them to Home Assistant as an entity attribute, which can subsequently be used in templating. My script is available here:
You can put the proto files in any directory, as long as the directory structure from the original download is preserved. The location of the topmost folder is configurable in the script itself, under protoPath.
I hope this gets fixed. I’m hoping to get my google home alarms into HA.
If i’m looking at this right. The issue was something to do with API token. But it looks like its been fixed?