mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-13 15:26:58 +00:00
Closes #344 - Rachio Config settings.
This commit is contained in:
@@ -14,6 +14,15 @@
|
||||
entity_id: sensor.dark_sky_wind_speed
|
||||
above: 20
|
||||
|
||||
condition:
|
||||
- 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_template: {"event":"Rachio_Rain_Delay"}
|
||||
|
@@ -32,5 +32,6 @@
|
||||
image: >-
|
||||
{{ [
|
||||
"/config/www/custom_ui/floorplan/images/branding/sprinkler.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/sprinkler2.png"
|
||||
"/config/www/custom_ui/floorplan/images/branding/sprinkler2.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/sprinkler3.png"
|
||||
] | random }}
|
||||
|
Reference in New Issue
Block a user