Just Don't need the Rachio reporting. It was only for the tweets. #872
parent
b9ce32b5a7
commit
1aeca5d7f3
@ -1,51 +0,0 @@
|
|||||||
###################################
|
|
||||||
## Uses IFTTT to trigger rain delay with rachio
|
|
||||||
###################################
|
|
||||||
|
|
||||||
- alias: Rachio_Rain_Delay
|
|
||||||
id: 55290018-b763-4739-873e-afb556b2b9be
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
- platform: numeric_state
|
|
||||||
entity_id:
|
|
||||||
- sensor.dark_sky_precip_intensity_max
|
|
||||||
- sensor.dark_sky_precip_intensity
|
|
||||||
above: 0.5
|
|
||||||
- platform: numeric_state
|
|
||||||
entity_id: sensor.dark_sky_wind_speed
|
|
||||||
above: 20
|
|
||||||
|
|
||||||
condition:
|
|
||||||
- condition: numeric_state
|
|
||||||
entity_id: automation.random_house_stats
|
|
||||||
attribute: last_triggered
|
|
||||||
above: 43200
|
|
||||||
|
|
||||||
# - condition: template
|
|
||||||
# value_template: >
|
|
||||||
# {%- if states.automation.random_house_stats.attributes.last_triggered -%}
|
|
||||||
# {{ (as_timestamp(now()) - as_timestamp(states.automation.rachio_rain_delay.attributes.last_triggered)) > 43200 }}
|
|
||||||
# {%- else -%}
|
|
||||||
# true
|
|
||||||
# {%- endif -%}
|
|
||||||
|
|
||||||
action:
|
|
||||||
- service: ifttt.trigger
|
|
||||||
data: {"event":"Rachio_Rain_Delay"}
|
|
||||||
|
|
||||||
- service: script.tweet_engine_image
|
|
||||||
data:
|
|
||||||
tweet: >
|
|
||||||
{{ [
|
|
||||||
"Looks like Rain, Pausing the @_Rachio for 24 hours. (https://github.com/CCOSTAN/Home-AssistantConfig#landscaping)",
|
|
||||||
"Since it is going to rain tomorrow, I will just pause @_Rachio for 24 hours.",
|
|
||||||
"No reason to water the grass if it is going to rain tomorrow. pausing @_Rachio for 24 hours.",
|
|
||||||
"Mother Nature is watering the grass today so I can pause @_Rachio for 24 hours."
|
|
||||||
] | random + " #SavingWater"}}
|
|
||||||
image: >-
|
|
||||||
{{ [
|
|
||||||
"/config/www/custom_ui/floorplan/images/branding/hat.png",
|
|
||||||
"/config/www/custom_ui/floorplan/images/branding/rain.png",
|
|
||||||
"/config/www/custom_ui/floorplan/images/branding/rain2.png",
|
|
||||||
"/config/www/custom_ui/floorplan/images/branding/rain3.png"
|
|
||||||
] | random }}
|
|
||||||
Loading…
Reference in new issue