Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102826

Google calendar automations not working

$
0
0

I have set up an automation using a Google calendar event to turn on a scene at a specific date and time.

The automation yaml is:

alias: Christmas Test
description: ‘’
trigger:

  • platform: state
    entity_id: calendar.home_assistant_events
    to: ‘on’
    condition:
  • condition: state
    entity_id: calendar.home_assistant_events
    attribute: message
    state: Christmas Test
    action:
  • service: scene.turn_on
    target:
    entity_id: scene.dr_lights_on
    metadata: {}
    mode: single

The Google calendar yaml is:

  • cal_id: dtspinella@gmail.com
    entities:

  • cal_id: addressbook#contacts@group.v.calendar.google.com
    entities:

    • device_id: birthdays
      ignore_availability: true
      name: Birthdays
      track: true
  • cal_id: en.usa#holiday@group.v.calendar.google.com
    entities:

    • device_id: holidays_in_united_states
      ignore_availability: true
      name: Holidays in United States
      track: true
  • cal_id: en.christian#holiday@group.v.calendar.google.com
    entities:

    • device_id: christian_holidays
      ignore_availability: true
      name: Christian Holidays
      track: true
  • cal_id: XXXXXXXXXXX@group.calendar.google.com
    entities:

    • device_id: home_assistant_events
      ignore_availability: true
      name: Home Assistant Events
      track: true

The state is: On

message: Christmas Test
all_day: false
start_time: 2022-04-30 09:00:00
end_time: 2022-04-30 10:00:00
location:
description:
offset_reached: false
friendly_name: Home Assistant Events

Yet it will not trigger.

Any help would be appreciated.

Dan

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 102826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>