I tried to create automations triggered by local calendar, but they didn’t worked. I explored all the possible options - before/after calendar event starts/ends with/without offset but non of them was working. The YAML config is bellow.
- id: ‘1744434213866’
alias: Event starts after 0 minutes - RB1
description: ‘’
triggers:- trigger: calendar
entity_id: calendar.vacation
event: start
offset: 0:0:0
conditions:
actions: - type: turn_on
device_id: b38638251ee897095042f3a21f6be61e
entity_id: 5b041fb2364ee8c1a7a2dd926fb4f44c
domain: switch - action: notify.mobile_app_krasimirs_iphone
metadata: {}
data:
message: RB1
mode: single
- trigger: calendar
- id: ‘1744434307787’
alias: Event starts before 0 minutes - RB2
description: ‘’
triggers:- trigger: calendar
entity_id: calendar.vacation
event: start
offset: -0:0:0
conditions:
actions: - type: turn_on
device_id: 0f04ca9d0c45f000ef67a9f809346ac5
entity_id: 9c76d43bd4a7a0a4098cf88dfe9bbad3
domain: switch - action: notify.mobile_app_krasimirs_iphone
metadata: {}
data:
message: RB2
mode: single
- trigger: calendar
- id: ‘1744434412659’
alias: Event starts after 1 minutes - RB3
description: ‘’
triggers:- trigger: calendar
entity_id: calendar.vacation
event: start
offset: 0:1:0
conditions:
actions: - type: turn_on
device_id: 3353c4a2d970100f79e238815234acf2
entity_id: 08b61da5b0d70804a04bc9db3879fb02
domain: switch - action: notify.mobile_app_krasimirs_iphone
metadata: {}
data:
message: RB3
mode: single
- trigger: calendar
- id: ‘1744434450120’
alias: Event starts before 1 minutes - RB4
description: ‘’
triggers:- trigger: calendar
entity_id: calendar.vacation
event: start
offset: -0:1:0
conditions:
actions: - type: turn_on
device_id: 916b85f42ca9210cd62f3a024fd544cf
entity_id: e7e5c683a2ec973acfa3e4d51a19d6da
domain: switch - action: notify.mobile_app_krasimirs_iphone
metadata: {}
data:
message: RB4
mode: single
- trigger: calendar
- id: ‘1744434528011’
alias: Event ends after 0 minutes - RB5
description: ‘’
triggers:- trigger: calendar
entity_id: calendar.vacation
event: end
offset: 0:0:0
conditions:
actions: - type: turn_on
device_id: b2cc30a4e93614de137122585bddae87
entity_id: 8ec4d77ce56531ffd9e3e1e45bf56297
domain: switch - action: notify.mobile_app_krasimirs_iphone
metadata: {}
data:
message: RB5
mode: single
- trigger: calendar
- id: ‘1744434580488’
alias: Event ends after 1 minutes - RB6
description: ‘’
triggers:- trigger: calendar
entity_id: calendar.vacation
event: end
offset: 0:1:0
conditions:
actions: - type: turn_on
device_id: 3380f081f843c5ab06dafe5cc9c739a5
entity_id: ea1fbc2d5fd524390c0fbbc1228ebd41
domain: switch - action: notify.mobile_app_krasimirs_iphone
metadata: {}
data:
message: RB6
mode: single
- trigger: calendar
- id: ‘1744434652286’
alias: Event ends before 0 minutes - RB7
description: ‘’
triggers:- trigger: calendar
entity_id: calendar.vacation
event: end
offset: -0:0:0
conditions:
actions: - type: turn_on
device_id: 5697755b070d541e7037a1f56dbb1827
entity_id: b926de07b1d7568d241c218d61436f88
domain: switch - action: notify.mobile_app_krasimirs_iphone
metadata: {}
data:
message: RB7
mode: single
- trigger: calendar
- id: ‘1744434748217’
alias: Event ends before 1 minutes - RB8
description: ‘’
triggers:- trigger: calendar
entity_id: calendar.vacation
event: end
offset: -0:1:0
conditions:
actions: - type: turn_on
device_id: d30a8a22bf542c58fb8cca0027d5880f
entity_id: 78d16e687a46494bf2f91e7d0697b094
domain: switch - action: notify.mobile_app_krasimirs_iphone
metadata: {}
data:
message: RB8
- trigger: calendar
There are no errors in System/Logs!!!
2 posts - 2 participants