Hi all,
I can’t figure it out, I’m trying to get an automation that will switch on and off a smart plug (Zigbee) based on an event in Google Calendar. I have run this integration already.
This is what I have so far:
- id: '1695978832657'
alias: Opladen mover accu
description: ''
trigger:
- platform: calendar
event: start
offset: -0:05:0
entity_id: calendar.homeassistant_event_calendar
- platform: calendar
event: end
offset: 0:05:0
entity_id: calendar.homeassistant_event_calendar
condition: []
action:
- service: switch.toggle
data: {}
target:
device_id: switch.stekker_oplader_mover_accu_switch
mode: single
I have looked the internet and this community but no luck.
Who can help me out, whats missing?
Thanks
Bas