From 0aec9d595b8bf24d68d43acc1de87df0e344fb7d Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Fri, 4 Dec 2020 11:13:44 +0100 Subject: [PATCH] Added Google Calendar Integration --- .gitignore | 1 + .secrets_travis.yaml | 3 +++ components/google_calendar.yaml | 6 ++++++ configuration.yaml | 3 +++ log/history.yaml | 1 + log/logbook.yaml | 1 + log/recorder.yaml | 1 + 7 files changed, 16 insertions(+) create mode 100644 components/google_calendar.yaml diff --git a/.gitignore b/.gitignore index 2f2be360..3644263a 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ tts/ # Credentials Files & Token .google_maps_location_sharing.cookies.* +.google.token .mercedesme* credentials/ html5_push_registrations.conf diff --git a/.secrets_travis.yaml b/.secrets_travis.yaml index 1b5f5317..fc80ad16 100644 --- a/.secrets_travis.yaml +++ b/.secrets_travis.yaml @@ -30,6 +30,9 @@ google_pin: "0000" google_maps_username: email@domain.com google_maps_password: password +google_calendar_id: id +google_calendar_secret: password + vapid_pub_key: 00 vapid_prv_key: 00 vapid_email: email@domain.com diff --git a/components/google_calendar.yaml b/components/google_calendar.yaml new file mode 100644 index 00000000..aa837afc --- /dev/null +++ b/components/google_calendar.yaml @@ -0,0 +1,6 @@ +###################################################################### +# Component: Google Calendar Integration +###################################################################### + +client_id: !secret google_calendar_id +client_secret: !secret google_calendar_secret diff --git a/configuration.yaml b/configuration.yaml index 6b788ea2..adc338de 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -190,6 +190,9 @@ maxcube: !include components/eq3max.yaml # Google Assistant google_assistant: !include components/google_assistant.yaml +# Google Calendar +google: !include components/google_calendar.yaml + # Speed Test speedtestdotnet: !include components/speedtest.yaml diff --git a/log/history.yaml b/log/history.yaml index b833a5b7..b4a61e43 100644 --- a/log/history.yaml +++ b/log/history.yaml @@ -79,6 +79,7 @@ exclude: - sensor.canon_tr8500_series_yellow domains: - automation + - calendar - group - input_boolean - input_datetime diff --git a/log/logbook.yaml b/log/logbook.yaml index 50b4eeae..e1c30602 100644 --- a/log/logbook.yaml +++ b/log/logbook.yaml @@ -79,6 +79,7 @@ exclude: - sensor.canon_tr8500_series_yellow domains: - automation + - calendar - group - input_boolean - input_datetime diff --git a/log/recorder.yaml b/log/recorder.yaml index 2db39fdc..c5ae3902 100644 --- a/log/recorder.yaml +++ b/log/recorder.yaml @@ -81,6 +81,7 @@ exclude: - sensor.canon_tr8500_series_yellow domains: - automation + - calendar - group - input_boolean - input_datetime -- 2.47.3