Fix google calendar comment typo (#67389)

This commit is contained in:
Allen Porter 2022-02-28 09:52:52 -08:00 committed by GitHub
parent 430cdc6d4c
commit c456b4c646
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,7 +154,7 @@ class GoogleCalendarEventDevice(CalendarEventDevice):
_LOGGER.error("Unable to connect to Google: %s", err) _LOGGER.error("Unable to connect to Google: %s", err)
return return
# Pick the first visible evemt. Make a copy since calculate_offset mutates the event # Pick the first visible event. Make a copy since calculate_offset mutates the event
valid_items = filter(self._event_filter, items) valid_items = filter(self._event_filter, items)
self._event = copy.deepcopy(next(valid_items, None)) self._event = copy.deepcopy(next(valid_items, None))
if self._event: if self._event: