Fix google calendar comment typo (#67389)
This commit is contained in:
parent
430cdc6d4c
commit
c456b4c646
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue