Ville Skyttä
5aadd7ffc9
Import `util.dt` as `dt_util` in `components/[g-i]*` ( #93759 )
2023-05-30 00:01:00 +03:00
Allen Porter
23af02b941
Make location optional in google calendar create service ( #91061 )
2023-04-08 22:40:39 -04:00
Allen Porter
96a3e10ff3
Bump gcal_sync to 4.1.4 ( #91062 )
2023-04-07 22:38:33 -04:00
Allen Porter
9f5dfdc67c
Bump gcal_sync to 4.1.3 ( #90968 )
2023-04-06 16:44:34 -04:00
Allen Porter
ae41547b73
Update calendar to always request start/end dates in local time rather than UTC ( #90386 )
2023-03-28 12:25:44 +02:00
Luca Angemi
6d8eaa0bee
Add location field to calendar create_event service supported by Google Calendar and Local Calendar ( #90098 )
...
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update calendar.py
* Update calendar.py
* Update services.yaml
* Update services.yaml
* Update calendar.py
* Update calendar.py
* Update __init__.py
* Update services.yaml
* Update services.yaml
* Update test_calendar.py
* Update test_init.py
* Update test_init.py
* Update test_init.py
* Update test_init.py
* Update __init__.py
* Update const.py
* Address changes to service.yaml
* Address changes to service.yaml
* Update test_calendar.py
* Update test_calendar.py
* Update test_calendar.py
* Update conftest.py
* Update conftest.py
* Update calendar.py
* Update __init__.py
2023-03-25 09:43:49 -07:00
Paulus Schoutsen
3a32d2bdcb
Add background tasks to config entries ( #88335 )
...
* Use a set for config entries task tracking
* Allow adding background tasks to config entries
* Add tests for config entry add tasks
* Update docstrings on core create task
* Migrate roon and august
* Use in more places
* Guard for None
2023-02-17 13:50:05 -05:00
Paulus Schoutsen
a356f35638
Fix dangling task for google ( #88287 )
2023-02-16 20:31:06 -08:00
Allen Porter
4d186366bd
Improve Google Calendar config flow error message when API disabled ( #87889 )
2023-02-12 18:28:44 +01:00
Erik Montnemery
899adef590
Sort manifests 4 ( #87025 )
2023-02-08 20:27:05 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core ( #87543 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
3d557b5583
Collection of code styling tweaks ( #87381 )
2023-02-04 12:52:26 -05:00
Allen Porter
7ff1265b10
Add service to create calendar events ( #85805 )
2023-01-25 12:43:50 +01:00
Marc Mueller
f57c0ea725
Update Union typing (2) [Py310] ( #86425 )
2023-01-23 08:40:09 +01:00
Marc Mueller
6d336ec136
Remove unnecessary try-else (5) ( #86164 )
2023-01-18 14:10:13 +01:00
GitHub Action
87b2a73460
[ci skip] Translation update
2023-01-18 00:24:40 +00:00
Allen Porter
02357193ad
Bump gcal-sync to 4.1.2 ( #85631 )
2023-01-10 20:15:55 +02:00
Allen Porter
4162dfdc4e
Bump gcal_sync to 4.1.1 ( #85453 )
2023-01-09 01:35:23 +02:00
GitHub Action
01e99c0229
[ci skip] Translation update
2023-01-05 00:23:39 +00:00
GitHub Action
5169721916
[ci skip] Translation update
2023-01-04 00:22:58 +00:00
Allen Porter
9c348b6330
Fix free/busy google calendars ( #84907 )
...
fixes undefined
2022-12-31 14:01:05 +01:00
Allen Porter
6b6f115d7e
Fix handling of empty google_calendars.yaml file ( #84909 )
...
fixes undefined
2022-12-31 11:50:56 +01:00
Allen Porter
2049993941
Check google calendar API scope to determine if write access is enabled ( #84749 )
...
* Check google calendar API scope to determine if write access is enabled
* Add API scope for calendar service for creating events
2022-12-29 11:00:31 +01:00
Marc Mueller
b8f83074ce
Improve `google` calendar generic typing ( #84633 )
2022-12-27 21:21:16 +01:00
Allen Porter
f9779d3e97
Bump gcal-sync to 4.1.0 ( #84474 )
...
* Bump gcal-sync to 4.1.0
* Update test with UNTIL improvements
2022-12-22 23:28:12 -05:00
Franck Nijhof
cb13418bab
String formatting and max line length - Part 2 ( #84393 )
2022-12-22 11:38:59 +01:00
Allen Porter
d41fe01736
Don't allow google calendar create/delete for yaml/search calendars ( #83604 )
...
* Update tests/components/google/test_calendar.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Don't allow google calendar create/delete for yaml/search calendars
* Revert incorrect docstring update
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-21 07:36:37 -08:00
Allen Porter
4e1b399efd
Fix google calendar recurrence rule create and view ( #84330 )
...
* Fix bug in google calendar recurrence rule handling
* Convert multiline ternary operator expressions to if block
2022-12-21 07:36:20 -08:00
GitHub Action
cfa08c5229
[ci skip] Translation update
2022-12-15 00:24:38 +00:00
Allen Porter
1ac7f5f013
Make google calendar fail louder on invalid google_calendars.yaml ( #83668 )
...
* Make google calendar fail louder on invalid google_calendars.yaml
* Update homeassistant/components/google/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/google/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-12-10 09:26:28 -08:00
GitHub Action
f25017313a
[ci skip] Translation update
2022-12-09 00:24:29 +00:00
GitHub Action
1f3e5fb4fc
[ci skip] Translation update
2022-12-07 00:24:08 +00:00
Allen Porter
0f83db82d9
Bump gcal_sync to 4.0.4 ( #83245 )
2022-12-04 17:16:51 -05:00
GitHub Action
03154e1d83
[ci skip] Translation update
2022-12-03 00:21:50 +00:00
Allen Porter
5d1ca73a34
Add create and delete for Google Calendar events ( #83034 )
...
* Add Google Calendar create/delete support
Includes editing for recurring events
* Fix default calendar access role
* Formatting improvements
* Address other details that have changed due to local sync
* Update tests/components/google/test_calendar.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/google/test_calendar.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/google/test_calendar.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Increase test coverage
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-01 21:39:58 +01:00
GitHub Action
230b50d099
[ci skip] Translation update
2022-11-29 00:26:01 +00:00
GitHub Action
b65d8cc1b3
[ci skip] Translation update
2022-11-28 00:23:09 +00:00
GitHub Action
797dc51bc5
[ci skip] Translation update
2022-11-26 00:22:30 +00:00
GitHub Action
f3b3193f7a
[ci skip] Translation update
2022-11-25 00:24:19 +00:00
Allen Porter
bba119affa
Bump gcal_sync to 4.0.3 ( #82606 )
...
fixes undefined
2022-11-24 17:01:20 +01:00
GitHub Action
33d391a110
[ci skip] Translation update
2022-11-24 00:26:32 +00:00
GitHub Action
eaf6d43508
[ci skip] Translation update
2022-11-23 00:26:26 +00:00
GitHub Action
0be2a3f182
[ci skip] Translation update
2022-11-22 00:26:32 +00:00
Allen Porter
edad5ece58
Bump gcal_sync 4.0.2 ( #82017 )
2022-11-13 06:58:59 -08:00
Allen Porter
e6d1a4a422
Revert google calendar back to old API for free/busy readers ( #81894 )
...
* Revert google calendar back to old API for free/busy readers
* Update homeassistant/components/google/calendar.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-11-10 08:31:28 -08:00
Allen Porter
f34de5072a
Bump gcal_sync to 4.0.1 to fix Google Calendar config flow ( #81873 )
...
Bump gcal_sync to 4.0.1
This reverts test chagnes from PR #81562 that were actually incorrect given
the calendar "get" API returns less information that the "CalendarList" api.
2022-11-09 19:34:31 -08:00
Allen Porter
dfab3b2651
Partially revert google local sync for search cases ( #81761 )
...
fixes undefined
2022-11-08 11:21:13 +01:00
Allen Porter
2ad1d31119
Bump gcal_sync to 4.0.0 ( #81562 )
...
* Bump gcal_sync to 2.2.4
* Bump gcal sync to 4.0.0
* Add Calendar accessRole fields which are now required
2022-11-05 17:06:34 -07:00
Allen Porter
e1be63f26c
Bump gcal_sync to 2.2.3 ( #81414 )
2022-11-02 17:57:23 +01:00
Allen Porter
2b935564c2
Bump gcal_sync to 2.2.2 and fix recurring event bug ( #81339 )
...
* Bump gcal_sync to 2.2.2 and fix recurring event bug
* Bump to 2.2.2
2022-11-01 11:08:36 +02:00