From 8cd5ae5283f5d422f9e2351f71bed85131891f5c Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Thu, 3 Oct 2024 17:20:22 +0200 Subject: [PATCH] Notify about washing mashine / dryer finish. --- automations.yaml | 152 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) diff --git a/automations.yaml b/automations.yaml index 56d620d..b5caf3a 100644 --- a/automations.yaml +++ b/automations.yaml @@ -970,3 +970,155 @@ device_id: 98a9eef603f8c8ae6200c4834a3dbf4f entity_id: fdcff3852ecc17099c953da17eb4b8a3 domain: light +- id: '1727953214758' + alias: Waschmaschine läuft + description: Prüfen ob die Waschmaschine läuft, dann den boolschen Schalter "Waschmaschine + aktiv" einschalten + triggers: + - type: power + device_id: 372d8814188a8a04a5314afe14eca2bb + entity_id: 5a6759f504b6058f710ce64888f27153 + domain: sensor + trigger: device + above: 100 + for: + hours: 0 + minutes: 1 + seconds: 0 + conditions: + - condition: device + type: is_on + device_id: 372d8814188a8a04a5314afe14eca2bb + entity_id: fe19b1089bb05644b632684df5bd42ec + domain: switch + actions: + - action: input_boolean.turn_on + target: + entity_id: input_boolean.waschmaschine_aktiv + data: {} + mode: single +- id: '1727953714662' + alias: Waschmaschine fertig + description: Sende eine Nachricht an den Smart Speaker, das Handy und die Awtrix + Uhr. + triggers: + - type: power + device_id: 372d8814188a8a04a5314afe14eca2bb + entity_id: 5a6759f504b6058f710ce64888f27153 + domain: sensor + trigger: device + below: 100 + for: + hours: 0 + minutes: 5 + seconds: 0 + conditions: + - condition: device + type: is_on + device_id: 372d8814188a8a04a5314afe14eca2bb + entity_id: fe19b1089bb05644b632684df5bd42ec + domain: switch + - condition: state + entity_id: input_boolean.waschmaschine_aktiv + state: 'on' + actions: + - data: + title: Die Waschmaschine ist fertig + message: Hol die Wäsche hoch und häng sie auf oder pack sie in den Trockner. + action: notify.mobile_app_le2123 + - data: + cache: true + media_player_entity_id: media_player.raspiaudio_muse_luxe + message: Die Waschmaschine ist fertig! Hol die Wäsche hoch und häng sie auf + oder pack sie in den Trockner. + target: + entity_id: tts.piper + action: tts.speak + - data: + qos: 0 + retain: false + topic: awtrix_desk/notify + payload: '{"text": "Die Waschmaschine ist fertig! Hol die Wäsche hoch und häng + sie auf oder pack sie in den Trockner."}' + action: mqtt.publish + - action: input_boolean.turn_off + metadata: {} + data: {} + target: + entity_id: input_boolean.waschmaschine_aktiv + mode: single +- id: '1727961343753' + alias: Wäschetrockner läuft + description: Prüfen ob der Wäschetrockner läuft, dann den boolschen Schalter "Waschmaschine + aktiv" einschalten + triggers: + - type: power + device_id: 81e357077ac8d1f8f588fbb5324965b5 + entity_id: fac93f9504dc8d1267bec7d02849d491 + domain: sensor + trigger: device + above: 150 + for: + hours: 0 + minutes: 1 + seconds: 0 + conditions: + - condition: device + type: is_on + device_id: 81e357077ac8d1f8f588fbb5324965b5 + entity_id: 2a2659668772d9345e42667900832f0e + domain: switch + actions: + - action: input_boolean.turn_on + data: {} + target: + entity_id: input_boolean.waschetrockner_aktiv + mode: single +- id: '1727961563281' + alias: Wäschetrockner fertig + description: Sende eine Nachricht an den Smart Speaker, das Handy und die Awtrix + Uhr. + triggers: + - type: power + device_id: 81e357077ac8d1f8f588fbb5324965b5 + entity_id: fac93f9504dc8d1267bec7d02849d491 + domain: sensor + trigger: device + below: 150 + for: + hours: 0 + minutes: 5 + seconds: 0 + conditions: + - condition: device + type: is_on + device_id: 81e357077ac8d1f8f588fbb5324965b5 + entity_id: 2a2659668772d9345e42667900832f0e + domain: switch + - condition: state + entity_id: input_boolean.waschetrockner_aktiv + state: 'on' + actions: + - data: + title: Der Wäschetrockner ist fertig + message: Hol die Wäsche aus dem Trockner. + action: notify.mobile_app_le2123 + - data: + cache: true + media_player_entity_id: media_player.raspiaudio_muse_luxe + message: Der Wäschetrockner ist fertig! Hol die Wäsche heraus! + target: + entity_id: tts.piper + action: tts.speak + - data: + qos: 0 + retain: false + topic: awtrix_desk/notify + payload: '{"text": "Der Wäschetrockner ist fertig! Hol die Wäsche heraus!"}' + action: mqtt.publish + - action: input_boolean.turn_off + metadata: {} + data: {} + target: + entity_id: input_boolean.waschetrockner_aktiv + mode: single