Fix free/busy google calendars (#84907)

fixes undefined
This commit is contained in:
Allen Porter 2022-12-31 05:01:05 -08:00 committed by GitHub
parent f275389ffe
commit 9c348b6330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,8 +221,7 @@ async def async_setup_entry(
) )
if ( if (
search := data.get(CONF_SEARCH) search := data.get(CONF_SEARCH)
or calendar_item.access_role == AccessRole.FREE_BUSY_READER ) or calendar_item.access_role == AccessRole.FREE_BUSY_READER:
):
coordinator = CalendarQueryUpdateCoordinator( coordinator = CalendarQueryUpdateCoordinator(
hass, hass,
calendar_service, calendar_service,