From 8a6e5b416e99e7096e92c1a9407e8e4809a89e93 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Sat, 6 May 2023 14:07:30 +0200 Subject: [PATCH] Added smart appartement airing in summer when it's getting hot. --- automations.yaml | 63 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 60 insertions(+), 3 deletions(-) diff --git a/automations.yaml b/automations.yaml index 79cdf62..1ff9338 100644 --- a/automations.yaml +++ b/automations.yaml @@ -115,11 +115,13 @@ data: title: 420! message: Lodere es, Lustknabe. - - service: tts.picotts_remote_say + - service: tts.speak data: cache: true - entity_id: media_player.raspiaudio_muse_luxe - message: 4 20 Lodere es, Lustknabe. + media_player_entity_id: media_player.raspiaudio_muse_luxe + message: 4 20 lodere es, Lustknabe + target: + entity_id: tts.piper mode: single - id: '1623911524804' alias: TV Anti-Reflexion (undo) @@ -479,3 +481,58 @@ target: entity_id: tts.piper mode: single +- id: '1683370485273' + alias: TTS Benachrichtigung an ein Smartphone senden + trigger: [] + condition: [] + action: + - service: notify.mobile_app_le2123 + data: + message: TTS + data: + tts_text: Dies ist ein Beispiel für eine Text-zu-Sprache Benachrichtigung + auf dem Handy. + mode: single +- id: '1683371750405' + alias: Fenster schließen, wenn es warm wird + description: Tagsüber im Sommer, wenn die Außentemperatur sich der Innentemperatur + annähert. + trigger: + - platform: numeric_state + entity_id: sensor.wohnungstemperatur + above: sensor.aussentemperator + for: + hours: 0 + minutes: 10 + seconds: 0 + condition: + - condition: state + entity_id: sensor.season + state: summer + - condition: sun + after: sunrise + before: sunset + action: + - service: notify.mobile_app_le2123 + data: + title: Schlaues lüften + message: '{{message}} + + ' + enabled: true + - service: tts.speak + data: + cache: true + media_player_entity_id: media_player.raspiaudio_muse_luxe + message: '{{message}} + + ' + target: + entity_id: tts.piper + variables: + message: 'Die Außentemperatur ist mit {{states.sensor.aussentemperator.state}} + ° Celsius höher als die Wohnungstemperatur. Mach die Fenster zu und gegebenenfalls + die Rolladen runter. + + ' + mode: single