Closed kazrakcom closed 10 months ago
Reoved 'blocked' because the API is now generally available. I'll try to investigate this between Christmas and New Years. It looks like what needs to happen is that we request 'workinglocation' events, which will then come in as separate events that we'll need to handle. It may be worthwhile to, instead, request workinglocation separately so we can short-circuit if the workinglocation is not what we want.
https://developers.google.com/calendar/api/user-availability/reference/rest
Once this is made available, it should be possible to mark that the LED should or should not blink based on where the user's working location is, either as an allowlist (only blink at specific locations) or as a blocklist (do not blink if in specific locations).