Hello,
I am trying to get the Offset for Google Calendar working…tried everything from the forum but it will not work…
My config so far…
In google calendar.yaml
- cal_id: [email protected]
entities:- device_id: xxxgmailcom
name: [email protected]
track: true
offset: -00:30
- device_id: xxxgmailcom
In config I have a sensor and an automation…
xxxgmailcom:
value_template: '{{ states.calendar.xxxgmailcom.attributes.offset_reached }}'
- alias: “Work”
trigger:
platform: state
entity_id: sensor.xxxgmailcom
to: ‘True’
action:
service: switch.turn_on
entity_id: switch.schrank
Where is my mistake ?