mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Fix google calendar comment typo (#67389)
This commit is contained in:
parent
430cdc6d4c
commit
c456b4c646
@ -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…
x
Reference in New Issue
Block a user