epenet
0b01326f9f
Use is in ConfigEntryState enum comparison in tests (A-M) ( #114925 )
2024-04-05 17:16:55 +02:00
Joost Lekkerkerker
5d500cb74b
Use is in enum comparison in config flow tests K-O ( #114672 )
2024-04-02 11:21:42 -10:00
Allen Porter
2789060bbe
Fix local calendar handling of empty recurrence ids ( #112745 )
...
* Fix handling of empty recurrence ids
* Revert logging changes
2024-03-08 22:28:04 -05:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +01:00
Cody C
a656e14b20
Fix Local Calendar changing user-specified capitalisation of calendar names ( #108454 )
...
When you create a Local Calendar, say, "Home Maintenance", the integration overrides this to instead be "Home maintenance".
2024-02-17 16:03:13 -08:00
Allen Porter
bf1b5252c0
Bump ical to 7.0.0 ( #110811 )
2024-02-17 22:58:59 +01:00
Allen Porter
1d5fcfc7c8
Improve local calendar based on local todo review feedback ( #103483 )
...
* Improve local calendar based on local todo review feedback
* Revert fakestore change to diagnose timeout
* Revert init changes
* Revert and add assert
2023-11-12 00:14:08 +01:00
Allen Porter
7d6595f755
Delete the local calendar store when removing the config entry ( #95599 )
...
* Delete calendar store when removing the config entry
* Unlink file on remove with tests
2023-07-02 22:42:39 -04:00
Allen Porter
3595e2fd5a
Coerce previously persisted local calendars to have valid durations ( #90970 )
2023-04-06 16:41:38 -04:00
J. Nick Koston
479a35c499
Revert "Move local calendar diagnostics to pytest.mark.freezetime" ( #90899 )
...
Revert "Move local calendar diagnostics to pytest.mark.freezetime (#90886 )"
This reverts commit a01952981f
.
2023-04-05 22:12:21 -07:00
Allen Porter
a01952981f
Move local calendar diagnostics to pytest.mark.freezetime ( #90886 )
2023-04-05 19:57:09 -07: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
Allen Porter
fa35867765
Bump ical to 4.5.1 and set PRODID for home assistant in local calendar ics ( #90291 )
2023-03-26 23:00:45 +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
epenet
5f3868b141
Add missing type hints to tests ( #90218 )
...
* Add type hints to tests
* Revert gree as handled in #90222
2023-03-24 19:34:01 -07:00
J. Nick Koston
99b58f157e
Bump PyJWT to 2.6.0 ( #90134 )
...
* Bump PyJWT to 2.6.0
* fix time being frozen too late which makes the access token creation time in the future
* revert zha change
* fix repairs test
* fix ical test
2023-03-22 20:00:47 -04:00
Allen Porter
04a99fdbfc
Add local calendar diagnostics platform ( #89776 )
...
* Add local calendar diagnostics platform
* Use redaction from ical
* Update diagnostics for new ical version
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Use snapshot tests for local calendar diagnostics
* Setup diagnostics directly in tests rather than via dependencies
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-16 23:05:01 -04:00
Allen Porter
b588b8b215
Bump ical to 4.5.0 ( #89744 )
2023-03-15 18:06:46 +01:00
Allen Porter
a91055cc2a
Fix additional typing in local calendar tests ( #89704 )
...
* Fix additional typing in local calendar tests
* Update tests/components/local_calendar/test_calendar.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-14 19:33:46 -07:00
Allen Porter
1bc4802c04
Move local calendar text fixtures to conftest.py ( #89674 )
...
* Move local calendar text fixtures to conftest.py
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Add imports for suggested typing fixes
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-14 08:12:44 -07:00
Allen Porter
e1e0400b16
Fix local calendar issue with events created with fixed UTC offsets ( #88650 )
...
Fix issue with events created with UTC offsets
2023-02-23 13:37:15 -05:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
ea11a30a35
Add type hints to integration tests (part 13) ( #87998 )
2023-02-13 14:38:37 +01:00
epenet
a79be493e5
Adjust hass_client type hint in integration tests ( #86954 )
...
* Adjust hass_client type hint in integration tests
* Adjust hass_client_no_auth
* Fix rebase
2023-02-02 16:29:57 -05:00
Allen Porter
7ff1265b10
Add service to create calendar events ( #85805 )
2023-01-25 12:43:50 +01:00
Allen Porter
624c93bb38
Add Local calendar edit support ( #84141 )
...
* Add update support for calendars and implement in local calendar
* Fix supported feature for update calendar
* Increase test coverage for websocket error cases
* Improve test coverage for update failure cases
* Improve test coverage by sharing code between update and create
* Update homeassistant/components/calendar/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-27 12:36:43 -08:00
Yuval Aboulafia
3149c52be1
Fix F602 key repeated ( #84531 )
2022-12-27 11:07:10 +01:00
Allen Porter
4819576b62
Tighten validation on calendar create event websocket ( #83413 )
2022-12-06 13:04:32 -05:00
Allen Porter
532ab12a48
Local calendar integration ( #79601 )
2022-11-30 21:20:21 +01:00