I’m trying to automate the activation of an automation depending on a event in 2 of my Google calendars that i have integrated.
This is my automation so far
alias: aktiver Wake light
description: ''
trigger:
- platform: time
at: '19:40'
condition:
- condition: or
conditions:
- condition: state
entity_id: calendar.beskaeftigelse
state: arbejde
attribute: message
- condition: state
entity_id: calendar.samvaer
state: samvær
attribute: message
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
action:
- service: automation.turn_on
target:
entity_id: automation.wake_up_light_alarm_with_sunrise_effect
mode: single
The thing is i can’t get it to trigger.
But if i run it manually it activates the wake light automation as intended.
So i think my problem lay in the trigger or condition somewhere…
Is there a way to correct it so it will work as intended?
Good find, I had much the same when setting up the calendar binary sensors, entered several test events via iOS calendar app not noting that the iPhone was auto capitalising all the entries.