From 87363b2304107f5221b429296c46aea7b66884f1 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Thu, 23 Feb 2017 05:07:23 +0000 Subject: [PATCH] Closes #79 - using Max intensity now- requested rain accumulation. --- automation/System/rachio_rain_delay.yaml | 14 ++++++++++++++ group/weather.yaml | 1 + sensor/weather.yaml | 4 +++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 automation/System/rachio_rain_delay.yaml diff --git a/automation/System/rachio_rain_delay.yaml b/automation/System/rachio_rain_delay.yaml new file mode 100755 index 00000000..43a6dad9 --- /dev/null +++ b/automation/System/rachio_rain_delay.yaml @@ -0,0 +1,14 @@ +################################### +## Uses IFTTT to trigger rain delay with rachio +################################### + +- alias: Rachio_Rain_Delay + hide_entity: True + trigger: + - platform: numeric_state + entity_id: sensor.dark_sky_precip_intensity_max + above: 0.5 + + action: + - service: ifttt.trigger + data_template: {"event":"Rachio_Rain_Delay"} diff --git a/group/weather.yaml b/group/weather.yaml index 86232d30..848d47ac 100755 --- a/group/weather.yaml +++ b/group/weather.yaml @@ -8,6 +8,7 @@ Weather: - sensor.dark_sky_minutely_summary # - sensor.dark_sky_nearest_storm_distance - sensor.dark_sky_precip_intensity + - sensor.dark_sky_precip_intensity_max - sensor.dark_sky_wind_speed - sensor.dark_sky_humidity - sensor.dark_sky_temperature diff --git a/sensor/weather.yaml b/sensor/weather.yaml index 3be3b255..d955e36d 100755 --- a/sensor/weather.yaml +++ b/sensor/weather.yaml @@ -1,10 +1,12 @@ - platform: darksky api_key: !secret forecast_key - + forecast: + - 1 monitored_conditions: # - summary # - precip_type - precip_intensity + - precip_intensity_max - temperature # - dew_point - wind_speed