From 4ba0edf2fac7f95b40daa0e3eefa296eece73a89 Mon Sep 17 00:00:00 2001 From: Kevin Eifinger Date: Sat, 3 Nov 2018 16:55:02 +0100 Subject: [PATCH] added travel_time_home_user_two --- group.yaml | 1 + input_boolean.yaml | 5 ++++- input_number.yaml | 3 +++ sensor.yaml | 7 +++++++ 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/group.yaml b/group.yaml index 24a9f496..d510336c 100644 --- a/group.yaml +++ b/group.yaml @@ -596,6 +596,7 @@ app_switches: - input_boolean.turn_off_bath_thermostat_when_window_open - input_boolean.set_thermostat_when_leaving - input_boolean.travel_time_home_user_one_update + - input_boolean.travel_time_home_user_two_update - input_boolean.increase_counter_on_google_maps_update - input_boolean.reset_googlemapsapicounter_on_last_day_of_month diff --git a/input_boolean.yaml b/input_boolean.yaml index ba102cd0..66194855 100644 --- a/input_boolean.yaml +++ b/input_boolean.yaml @@ -116,9 +116,12 @@ set_thermostat_when_leaving: icon: mdi:temperature-celsius name: Fußbodenheizung im Wohnzimmer wenn wir gehen - travel_time_home_user_one_update: + travel_time_home_user_two_update: icon: mdi:update name: Update Travel Time Home User One + travel_time_home_user_two_update: + icon: mdi:update + name: Update Travel Time Home User Two increase_counter_on_google_maps_update: icon: mdi:plus-one name: Increase Counter on Google Maps Update Calls diff --git a/input_number.yaml b/input_number.yaml index f8c7769b..3d97bac3 100644 --- a/input_number.yaml +++ b/input_number.yaml @@ -51,5 +51,8 @@ set_thermostat_when_leaving: max: 30 step: 0.5 travel_time_home_user_one_update_interval: + min: 2 + max: 2678400 # 1 month +travel_time_home_user_two_update_interval: min: 2 max: 2678400 # 1 month \ No newline at end of file diff --git a/sensor.yaml b/sensor.yaml index 8cc21e51..b5cbf5d6 100644 --- a/sensor.yaml +++ b/sensor.yaml @@ -306,6 +306,13 @@ origin: !secret device_user_one destination: zone.home scan_interval: 2678400 # 1 month +# Travel Time Home User Two +- platform: google_travel_time + name: travel_time_home_user_two + api_key: !secret google_maps_api_token_user_two + origin: !secret device_user_two + destination: zone.home + scan_interval: 2678400 # 1 month ################################################################# ## Next Appointment #################################################################