Bump gcal_sync to 0.10.0 and fix google
typing (#73710)
Bump gcal_sync to 0.10.0
This commit is contained in:
parent
9b93071720
commit
ab95299150
5 changed files with 6 additions and 6 deletions
|
@ -173,7 +173,7 @@ async def async_create_device_flow(
|
|||
return DeviceFlow(hass, oauth_flow, device_flow_info)
|
||||
|
||||
|
||||
class ApiAuthImpl(AbstractAuth): # type: ignore[misc]
|
||||
class ApiAuthImpl(AbstractAuth):
|
||||
"""Authentication implementation for google calendar api library."""
|
||||
|
||||
def __init__(
|
||||
|
@ -191,7 +191,7 @@ class ApiAuthImpl(AbstractAuth): # type: ignore[misc]
|
|||
return cast(str, self._session.token["access_token"])
|
||||
|
||||
|
||||
class AccessTokenAuthImpl(AbstractAuth): # type: ignore[misc]
|
||||
class AccessTokenAuthImpl(AbstractAuth):
|
||||
"""Authentication implementation used during config flow, without refresh.
|
||||
|
||||
This exists to allow the config flow to use the API before it has fully
|
||||
|
|
|
@ -224,7 +224,7 @@ class GoogleCalendarEntity(CalendarEntity):
|
|||
"""Return True if the event is visible."""
|
||||
if self._ignore_availability:
|
||||
return True
|
||||
return event.transparency == OPAQUE # type: ignore[no-any-return]
|
||||
return event.transparency == OPAQUE
|
||||
|
||||
async def async_get_events(
|
||||
self, hass: HomeAssistant, start_date: datetime, end_date: datetime
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"config_flow": true,
|
||||
"dependencies": ["application_credentials"],
|
||||
"documentation": "https://www.home-assistant.io/integrations/calendar.google/",
|
||||
"requirements": ["gcal-sync==0.9.0", "oauth2client==4.1.3"],
|
||||
"requirements": ["gcal-sync==0.10.0", "oauth2client==4.1.3"],
|
||||
"codeowners": ["@allenporter"],
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["googleapiclient"]
|
||||
|
|
|
@ -692,7 +692,7 @@ gTTS==2.2.4
|
|||
garages-amsterdam==3.0.0
|
||||
|
||||
# homeassistant.components.google
|
||||
gcal-sync==0.9.0
|
||||
gcal-sync==0.10.0
|
||||
|
||||
# homeassistant.components.geniushub
|
||||
geniushub-client==0.6.30
|
||||
|
|
|
@ -495,7 +495,7 @@ gTTS==2.2.4
|
|||
garages-amsterdam==3.0.0
|
||||
|
||||
# homeassistant.components.google
|
||||
gcal-sync==0.9.0
|
||||
gcal-sync==0.10.0
|
||||
|
||||
# homeassistant.components.geocaching
|
||||
geocachingapi==0.2.1
|
||||
|
|
Loading…
Add table
Reference in a new issue