I have set up an automation using a Google calendar event to turn on a scene at a specific date and time that will not trigger. I am running
Home Assistant Version: core-2022.4.7
Installation Type: Home Assistant OS
On an SSD attached to a Raspberry Pi 4
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: [email protected]
entities:- device_id: dtspinella_gmail_com
ignore_availability: true
name: [email protected]
track: true
- device_id: dtspinella_gmail_com
-
cal_id: addressbook#[email protected]
entities:- device_id: birthdays
ignore_availability: true
name: Birthdays
track: true
- device_id: birthdays
-
cal_id: en.usa#[email protected]
entities:- device_id: holidays_in_united_states
ignore_availability: true
name: Holidays in United States
track: true
- device_id: holidays_in_united_states
-
cal_id: en.christian#[email protected]
entities:- device_id: christian_holidays
ignore_availability: true
name: Christian Holidays
track: true
- device_id: christian_holidays
-
cal_id: [email protected]
entities:- device_id: home_assistant_events
ignore_availability: true
name: Home Assistant Events
track: true
- device_id: home_assistant_events
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