core/homeassistant/components/google
Allen Porter f99b6004ea
Cleanup calendar APIs and introduce a dataclass for representing events (#68843)
* Introduce data class to hold calendar event data

* Rename CalendarEventDevice to CalendarEntity

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Fix docstring on google calendar api conversion function.

* Update todoist to new calendar enttiy api, tested manually

* Add back old API for a legacy compatibility layer

* Add deprecation warning for old calendar APIs

* Fix deprecation warning

* Fix merge for missing summary #69520

* Add mypy typing for newly introduced classes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-10 12:04:07 -07:00
..
translations Handle expired credentials in reauth in google calendar initialization (#69772) 2022-04-09 23:01:48 -07:00
__init__.py Handle expired credentials in reauth in google calendar initialization (#69772) 2022-04-09 23:01:48 -07:00
api.py Fix bugs calendar oauth token date handling (#69641) 2022-04-07 21:53:30 -07:00
calendar.py Cleanup calendar APIs and introduce a dataclass for representing events (#68843) 2022-04-10 12:04:07 -07:00
config_flow.py Handle expired credentials in reauth in google calendar initialization (#69772) 2022-04-09 23:01:48 -07:00
const.py Update google calendar integration with a config flow (#68010) 2022-03-15 07:51:02 +01:00
manifest.json Move Local OAuth http endpoint registration to auth component (#69507) 2022-04-06 22:34:31 -07:00
services.yaml
strings.json Handle expired credentials in reauth in google calendar initialization (#69772) 2022-04-09 23:01:48 -07:00