1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-14 23:17:08 +00:00
Files
core/homeassistant/components
Martin Hjelmare 177f5a35ae Rewrite calendar component (#24950)
* Correct google calendar test name

* Rewrite calendar component

* Save component in hass.data.
* Rename device_state_attributes to state_attributes.
* Remove offset attribute from base state_attributes.
* Extract offset helpers to calendar component.
* Clean imports.
* Remove stale constants.
* Remove name and add async_get_events.
* Add normalize_event helper function. Copied from #21495.
* Add event property to base entity.
* Use event property for calendar state.
* Ensure event start and end.
* Remove entity init.
* Add comment about event data class.
* Temporary keep old start and end datetime format.

* Convert demo calendar

* Convert google calendar

* Convert google calendar.
* Clean up google component.
* Keep offset feature by using offset helpers.

* Convert caldav calendar

* Clean up caldav calendar.
* Update caldav cal on addition.
* Bring back offset to caldav calendar.
* Copy caldav event on update.

* Convert todoist calendar
2019-07-10 20:59:37 -07:00
..
2019-04-03 21:14:45 -07:00
2019-07-10 10:50:50 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-05-22 21:09:59 -07:00
2019-05-22 21:09:59 -07:00
2019-05-22 21:09:59 -07:00
2019-06-11 15:57:29 -07:00
2019-07-10 10:50:50 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-05-08 20:20:58 -07:00
2019-06-01 17:03:41 +02:00
2019-05-22 21:09:59 -07:00
2019-06-30 22:53:27 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-05-22 21:09:59 -07:00
2019-05-22 21:09:59 -07:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-07-09 09:59:48 +02:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-07-08 14:00:24 +02:00
2019-07-10 20:59:37 -07:00
2019-04-03 21:14:45 -07:00
2019-06-18 11:54:56 -07:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-07-08 13:10:01 -07:00
2019-04-24 14:47:22 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-06-19 15:58:39 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-05-23 13:32:35 -07:00
2019-05-22 21:09:59 -07:00
2019-07-08 14:00:24 +02:00
2019-07-08 14:00:24 +02:00
2019-07-08 14:00:24 +02:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-05-31 09:17:50 +02:00
2019-07-08 14:00:24 +02:00
2019-05-22 21:09:59 -07:00
2019-04-26 08:55:30 -07:00
2019-04-03 21:14:45 -07:00
2019-05-22 21:09:59 -07:00
2019-07-08 14:00:24 +02:00
2019-07-10 10:49:07 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-07-08 14:00:24 +02:00
2019-06-01 13:08:23 -07:00
2019-06-22 12:58:37 +02:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-05-22 21:09:59 -07:00
2019-06-14 14:53:13 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-06-30 22:53:27 -07:00
2019-05-30 13:37:01 +02:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-07-08 14:00:24 +02:00
2019-07-08 14:00:24 +02:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-07-10 10:50:50 -07:00
2019-04-03 21:14:45 -07:00
2019-05-08 08:04:36 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-06-19 16:22:13 -07:00
2019-06-29 07:15:32 -04:00
2019-04-03 21:14:45 -07:00
2019-06-14 15:30:47 -07:00
2019-07-10 15:59:43 -07:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-07-10 10:50:50 -07:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-07-10 10:50:50 -07:00
2019-04-03 21:14:45 -07:00
2019-05-30 13:37:01 +02:00
2019-05-30 13:37:01 +02:00
2019-06-18 11:54:56 -07:00
2019-05-30 13:37:01 +02:00
2019-05-22 21:09:59 -07:00
2019-07-08 14:00:24 +02:00
2019-05-22 21:09:59 -07:00
2019-07-08 14:00:24 +02:00
2019-07-10 10:50:50 -07:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-05-22 21:09:59 -07:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-06-14 14:53:13 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-05-01 16:05:35 -06:00
2019-07-08 14:00:24 +02:00
2019-07-08 14:12:02 -07:00
2019-04-26 19:51:58 -05:00
2019-04-03 21:14:45 -07:00
2019-05-22 21:09:59 -07:00
2019-05-22 21:09:59 -07:00
2019-07-10 10:50:50 -07:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-06-29 07:15:32 -04:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-06-14 14:53:13 -07:00
2019-05-02 08:36:41 -04:00
2019-04-21 09:03:17 +02:00
2019-05-30 13:37:01 +02:00
2019-05-30 13:37:01 +02:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-05-15 23:43:45 +02:00
2019-04-03 21:14:45 -07:00
2019-07-10 10:50:50 -07:00
2019-06-14 14:53:13 -07:00
2019-07-08 14:00:24 +02:00
2019-05-22 21:09:59 -07:00
2019-06-24 08:27:46 -07:00
2019-05-01 00:07:34 +02:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-05-22 21:09:59 -07:00
2019-06-30 16:49:16 +02:00
2019-05-22 21:09:59 -07:00
2019-05-22 21:09:59 -07:00
2019-05-24 09:46:59 +02:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-05-22 21:09:59 -07:00
2019-06-01 12:15:28 -07:00
2019-04-17 09:31:34 -07:00
2019-05-02 16:00:32 +02:00
2019-04-03 21:14:45 -07:00
2019-05-05 00:05:01 +02:00
2019-05-30 13:37:01 +02:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-22 12:09:55 -07:00
2019-05-05 00:06:39 +02:00
2019-07-10 15:55:40 -07:00
2019-07-09 09:59:48 +02:00
2019-06-19 16:22:13 -07:00
2019-04-03 21:14:45 -07:00
2019-07-10 10:50:50 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-06-29 07:14:47 -04:00
2019-05-22 21:09:59 -07:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-06-19 07:25:15 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-05-05 00:07:55 +02:00
2019-04-03 21:14:45 -07:00
2019-05-22 21:09:59 -07:00
2019-06-14 14:53:13 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-05-30 09:41:11 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-07-09 19:52:38 +02:00
2019-07-08 14:00:24 +02:00
2019-06-14 14:53:13 -07:00
2019-07-10 10:50:50 -07:00
2019-06-29 07:15:32 -04:00
2019-05-22 21:09:59 -07:00
2019-06-18 11:54:56 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-06-15 17:38:22 +02:00
2019-05-22 21:09:59 -07:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-07-08 14:00:24 +02:00
2019-07-08 14:00:24 +02:00
2019-05-22 21:09:59 -07:00
2019-06-21 11:13:47 +02:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-07-01 10:49:27 -07:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-06-24 08:27:46 -07:00
2019-07-08 14:00:24 +02:00
2019-04-03 21:14:45 -07:00
2019-04-03 21:14:45 -07:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-05-22 21:09:59 -07:00
2019-05-22 21:09:59 -07:00
2019-07-08 14:00:24 +02:00
2019-05-22 21:09:59 -07:00
2019-05-22 21:09:59 -07:00
2019-04-03 21:14:45 -07:00
2019-07-10 12:20:37 -07:00
2019-07-08 14:00:24 +02:00
2019-06-14 14:53:13 -07:00