Hi!
Is there any way to get notification value from Google Calendar event?
Yes. Use the calendar entity as a trigger. You can specify how far prior or after the event you want to be notified. In this example, 5 minutes prior:
entity_id: calendar.yourcalendar_gmail_com
event: start
offset: "-0:5:0"
trigger: calendar
You can easily use the UI to set up the trigger.
Then, use the Notify action to send the message to whatever platform you want. I usually send notifications to my iPhone, it depends on what notification device you want. The notification can also be set up in the UI without using YAML.
Hope this helps
I should have mentioned, this assumes you’ve installed the Google Calendar integration. If not, there are instructions available here:
The Google Calendar integration currently does not return any notifications that you set in the appointment. Only start, end, summary and location as far as I can tell.
There is another thread on this topic:
TLDR: It’s not reliable.
TLDR: It’s not reliable.
That’s not the problem. The problem is that the calendar entry (Google, CalDav, …) that HA reads from whichever cloud server I use knows how far in advance I need that notification (or notifications).
Hard-coding the offset in the generic calendar trigger doesn’t make sense: some events need more prep time than others. Worse, if a calendar entry doesn’t need a notification I don’t want the trigger to fire in the first place.
Well, then that integration should be improved, right?
That is a matter of opinion. You can look to see if there is a feature request about it and vote for it, or create one if there isn’t. Personally, I expect Google to notify me and I have no need for double notifications. But that too is a matter of opinion
At the moment the integration does not really support sending notifications to HA.
Voted for this feature.