feat: Failsafe-Automation und Wochenreport-Automation
This commit is contained in:
@@ -85,3 +85,43 @@ automation:
|
|||||||
- action: counter.increment
|
- action: counter.increment
|
||||||
target:
|
target:
|
||||||
entity_id: counter.bewaesserung_woche
|
entity_id: counter.bewaesserung_woche
|
||||||
|
|
||||||
|
- id: bewaesserung_failsafe
|
||||||
|
alias: "Bewässerung: Failsafe-Abschaltung"
|
||||||
|
description: "Pumpe zwangsweise abschalten wenn sie länger als 15 min läuft"
|
||||||
|
mode: single
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: switch.hydro_one
|
||||||
|
to: "on"
|
||||||
|
for:
|
||||||
|
minutes: 15
|
||||||
|
action:
|
||||||
|
- action: switch.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: switch.hydro_one
|
||||||
|
- action: notify.mobile_app_DEIN_GERAET
|
||||||
|
data:
|
||||||
|
title: "Bewässerung ALARM"
|
||||||
|
message: "🚨 Pumpe-Notabschaltung! Lief länger als 15 Minuten."
|
||||||
|
|
||||||
|
- id: bewaesserung_wochenreport
|
||||||
|
alias: "Bewässerung: Wochenreport"
|
||||||
|
description: "Jeden Sonntag um 20:00 Bericht und Zähler-Reset"
|
||||||
|
mode: single
|
||||||
|
trigger:
|
||||||
|
- platform: time
|
||||||
|
at: "20:00:00"
|
||||||
|
condition:
|
||||||
|
- condition: time
|
||||||
|
weekday:
|
||||||
|
- sun
|
||||||
|
action:
|
||||||
|
- action: notify.mobile_app_DEIN_GERAET
|
||||||
|
data:
|
||||||
|
title: "Bewässerung Wochenreport"
|
||||||
|
message: >
|
||||||
|
Diese Woche {{ states('counter.bewaesserung_woche') }}× gegossen.
|
||||||
|
- action: counter.reset
|
||||||
|
target:
|
||||||
|
entity_id: counter.bewaesserung_woche
|
||||||
|
|||||||
Reference in New Issue
Block a user