This is the first “complicated” thing I’ve attempted in Hassio so please take it easy on me! I work a rotating shift which is tracked in Google Calendar with all day events. I’d like to check for the value of my current shift event in GC to trigger automations.
I have GC set up and working in Hassio using the following config. I can see the calendar.workshift entity on the states page and it is tracking in History but the state is just either ON or OFF. I can not bring up this calendar entity in Node Red though.
- cal_id: [email protected]
entities:
- device_id: workshift
ignore_availability: true
name: WorkShift
search: '#Days'
track: true
- device_id: workshift
ignore_availability: true
name: WorkShift
search: '#Afternoons'
track: true
- device_id: workshift
ignore_availability: true
name: WorkShift
search: '#Midnights'
track: true
Is there a way to check this once a day and set a value somewhere? Do I have to create a script to check my calendar every time I run an automation? How would I go about doing this?
I’m totally lost here. I can usually figure things out, but I don’t even know where to start with this. Anyone have any thoughts to get me started?