Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Abfallerinnerung
- description: |-
- Wenn zwischen 6 und 10 Uhr die Tür geöffnet wird
- und eine Müllsorte heute dran ist, gibt es eine
- Benachrichtigung
- trigger:
- - platform: state
- entity_id:
- - binary_sensor.haustur_tur
- to: "on"
- condition:
- - condition: time
- after: "06:00:00"
- before: "10:00:00"
- action:
- - if:
- - condition: state
- entity_id: sensor.bioabfall
- state: "0"
- then:
- - service: notify.mobile_app_iphone13schmidtke
- data:
- message: Biotonne raus stellen
- title: Biotonne
- - if:
- - condition: state
- entity_id: sensor.restabfall
- state: "0"
- then:
- - service: notify.mobile_app_iphone13schmidtke
- data:
- message: Restmüll raus stellen
- title: Restmüll
- - if:
- - condition: state
- entity_id: sensor.gelbe_tonne
- state: "0"
- then:
- - service: notify.mobile_app_iphone13schmidtke
- data:
- message: gelbe Tonne raus stellen
- title: Gelbe Tonne
- - if:
- - condition: state
- entity_id: sensor.altglas
- state: "0"
- then:
- - service: notify.mobile_app_iphone13schmidtke
- data:
- message: Altglas raus stellen
- title: Altglas
- - if:
- - condition: state
- entity_id: sensor.altpapier_und_altglas
- state: "0"
- then:
- - service: notify.mobile_app_iphone13schmidtke
- data:
- message: Altpapier und Altglas raus stellen
- title: Altpapier und Altglas
- mode: single
Advertisement