2021-08-24 13:08:35 +02:00
|
|
|
- id: '1623153060369'
|
|
|
|
alias: Licht bei Sonnenuntergang einschalten
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
event: sunset
|
|
|
|
offset: '-1:00'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
state: home
|
|
|
|
action:
|
2021-08-24 15:26:02 +02:00
|
|
|
- service: script.moodlight_neutral
|
2021-08-24 13:08:35 +02:00
|
|
|
mode: single
|
|
|
|
- id: '1623224198352'
|
|
|
|
alias: TV Anti-Reflexion
|
|
|
|
description: Schaltet Wohnzimmer hinten Ambient Light aus, um Reflexionen im TV
|
|
|
|
zu verhindern.
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: media_player.lg_webos_smart_tv
|
|
|
|
from: 'off'
|
|
|
|
to: 'on'
|
|
|
|
condition: []
|
|
|
|
action:
|
|
|
|
- service: light.turn_off
|
|
|
|
target:
|
|
|
|
device_id: 6dcbd87b459412144bddc42af3ae8b83
|
|
|
|
data:
|
|
|
|
transition: 2
|
|
|
|
mode: single
|
|
|
|
- id: '1623350724195'
|
|
|
|
alias: Zonenbenachrichtigung
|
|
|
|
description: 'Debug: Präsenzerkennung'
|
|
|
|
use_blueprint:
|
|
|
|
path: homeassistant/notify_leaving_zone.yaml
|
|
|
|
input:
|
|
|
|
person_entity: person.marcus_scholz
|
|
|
|
zone_entity: zone.home
|
2021-12-02 15:16:06 +01:00
|
|
|
notify_device: 6adad2de67b26c864cfcb1a91bd12e48
|
2021-08-24 13:08:35 +02:00
|
|
|
- id: '1623526683767'
|
|
|
|
alias: Licht bei Sonnenaufgang ausschalten
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
event: sunrise
|
|
|
|
offset: '+1:00'
|
|
|
|
condition: []
|
|
|
|
action:
|
|
|
|
- service: light.turn_off
|
|
|
|
target:
|
|
|
|
area_id:
|
|
|
|
- kuche
|
|
|
|
- wohnzimmer
|
|
|
|
- schlafzimmer
|
|
|
|
data:
|
|
|
|
transition: 2
|
|
|
|
mode: single
|
|
|
|
- id: '1623673821789'
|
|
|
|
alias: Gute Nacht!
|
|
|
|
description: Schalte alles (außer Schlafzimmer) aus, sobald das Schlaftracking startet.
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: input_text.sleep_as_android
|
|
|
|
to: sleep_tracking_started
|
|
|
|
condition: []
|
|
|
|
action:
|
|
|
|
- service: light.turn_off
|
|
|
|
target:
|
|
|
|
area_id:
|
|
|
|
- wohnzimmer
|
|
|
|
- kuche
|
|
|
|
- schlafzimmer
|
2021-11-13 00:56:47 +01:00
|
|
|
- kinderzimmer
|
2022-09-01 13:50:41 +02:00
|
|
|
data: {}
|
2021-09-06 13:34:19 +02:00
|
|
|
- type: turn_off
|
|
|
|
device_id: 6d1be741876624a70ab5b01b54c6fd6f
|
|
|
|
entity_id: switch.kuche_musik
|
|
|
|
domain: switch
|
2021-12-02 15:16:06 +01:00
|
|
|
- service: notify.mobile_app_le2123
|
2021-12-31 00:41:36 +01:00
|
|
|
data:
|
|
|
|
message: Gute Nacht!
|
2022-09-01 13:50:41 +02:00
|
|
|
- service: media_player.play_media
|
|
|
|
target:
|
2023-05-04 10:15:16 +02:00
|
|
|
entity_id: media_player.raspiaudio_muse_luxe
|
2022-09-01 13:50:41 +02:00
|
|
|
data:
|
2023-05-04 11:50:04 +02:00
|
|
|
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
|
|
|
media_content_type: provider
|
|
|
|
metadata:
|
|
|
|
title: Gute Nacht, schlaf gut.
|
|
|
|
thumbnail: https://brands.home-assistant.io/_/tts/logo.png
|
|
|
|
media_class: app
|
|
|
|
children_media_class:
|
|
|
|
navigateIds:
|
|
|
|
- {}
|
|
|
|
- media_content_type: app
|
|
|
|
media_content_id: media-source://tts
|
|
|
|
- media_content_type: provider
|
|
|
|
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
2022-12-06 13:46:10 +01:00
|
|
|
- service: media_player.turn_off
|
|
|
|
target:
|
|
|
|
area_id:
|
|
|
|
- wohnzimmer
|
|
|
|
data: {}
|
2021-08-24 13:08:35 +02:00
|
|
|
mode: single
|
|
|
|
- id: '1623868115464'
|
|
|
|
alias: 420!
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '16:20'
|
|
|
|
condition: []
|
|
|
|
action:
|
2022-09-08 22:22:35 +02:00
|
|
|
- service: notify.mobile_app_le2123
|
2021-08-24 13:08:35 +02:00
|
|
|
data:
|
2022-09-08 22:22:35 +02:00
|
|
|
title: 420!
|
|
|
|
message: Lodere es, Lustknabe.
|
2023-05-06 14:07:30 +02:00
|
|
|
- service: tts.speak
|
2022-09-09 21:32:30 +02:00
|
|
|
data:
|
2023-02-07 15:12:34 +01:00
|
|
|
cache: true
|
2023-05-06 14:07:30 +02:00
|
|
|
media_player_entity_id: media_player.raspiaudio_muse_luxe
|
|
|
|
message: 4 20 lodere es, Lustknabe
|
|
|
|
target:
|
|
|
|
entity_id: tts.piper
|
2021-08-24 13:08:35 +02:00
|
|
|
mode: single
|
|
|
|
- id: '1623911524804'
|
|
|
|
alias: TV Anti-Reflexion (undo)
|
|
|
|
description: Schaltet Wohnzimmer hinten Ambient Light wieder ein, wenn vorne auch
|
|
|
|
(noch) eingeschaltet ist.
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: media_player.lg_webos_smart_tv
|
|
|
|
to: 'off'
|
|
|
|
from: 'on'
|
|
|
|
condition:
|
|
|
|
- condition: device
|
|
|
|
type: is_on
|
|
|
|
device_id: 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
|
|
|
entity_id: light.wohnzimmer_vorne
|
|
|
|
domain: light
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
transition: 2
|
|
|
|
target:
|
|
|
|
device_id: 6dcbd87b459412144bddc42af3ae8b83
|
|
|
|
mode: single
|
|
|
|
- id: '1623941937228'
|
|
|
|
alias: Licht im Schlafzimmer zur Schlafenszeit einschalten
|
|
|
|
description: Bei Beginn der empfohlenen Schlafenszeit.
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: input_text.sleep_as_android
|
|
|
|
to: time_to_bed_alarm_alert
|
|
|
|
for: 00:05:00
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
state: home
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
target:
|
2021-11-13 00:56:47 +01:00
|
|
|
device_id: 68868390eda35e969ec60a13020f2407
|
2023-05-01 20:57:16 +02:00
|
|
|
data: {}
|
2023-05-04 11:50:04 +02:00
|
|
|
- service: tts.speak
|
2023-05-01 20:57:16 +02:00
|
|
|
data:
|
|
|
|
cache: true
|
2023-05-04 11:50:04 +02:00
|
|
|
media_player_entity_id: media_player.raspiaudio_muse_luxe
|
|
|
|
message: Ab ins Bett, Schlafenszeit.
|
|
|
|
target:
|
|
|
|
entity_id: tts.piper
|
2021-08-24 13:08:35 +02:00
|
|
|
mode: single
|
|
|
|
- id: '1623954512941'
|
|
|
|
alias: Licht im Schlafzimmer zum Aufwachen einschalten
|
|
|
|
description: Nach der Alarmquittierung
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: input_text.sleep_as_android
|
|
|
|
to: alarm_alert_start
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
state: home
|
|
|
|
action:
|
|
|
|
- delay:
|
|
|
|
hours: 0
|
|
|
|
minutes: 0
|
|
|
|
seconds: 30
|
|
|
|
milliseconds: 0
|
|
|
|
- service: light.turn_on
|
|
|
|
target:
|
2021-11-13 00:56:47 +01:00
|
|
|
device_id: 68868390eda35e969ec60a13020f2407
|
2021-08-24 13:08:35 +02:00
|
|
|
data: {}
|
2021-11-13 00:56:47 +01:00
|
|
|
- delay:
|
|
|
|
hours: 0
|
|
|
|
minutes: 15
|
|
|
|
seconds: 0
|
|
|
|
milliseconds: 0
|
|
|
|
- service: light.turn_on
|
|
|
|
target:
|
|
|
|
device_id: 3c86ddd39979139f29645308815c0271
|
2021-08-24 13:08:35 +02:00
|
|
|
mode: single
|
|
|
|
- id: '1624820688449'
|
|
|
|
alias: 'Anruf: Beim Klingeln grün blinken'
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
2022-05-16 20:46:34 +02:00
|
|
|
entity_id: sensor.fritz_box_7490_call_monitor_dem_commander1024_seine_cloud
|
2021-08-24 13:08:35 +02:00
|
|
|
to: ringing
|
|
|
|
- platform: state
|
2021-12-02 15:16:06 +01:00
|
|
|
entity_id: sensor.le2123_phone_state
|
2021-08-24 13:08:35 +02:00
|
|
|
to: ringing
|
2021-08-24 16:51:53 +02:00
|
|
|
- platform: state
|
|
|
|
to: ringing
|
|
|
|
entity_id: sensor.moto_g_100_phone_state
|
2021-08-24 13:08:35 +02:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
state: home
|
|
|
|
action:
|
|
|
|
- service: scene.create
|
|
|
|
data:
|
|
|
|
scene_id: wled_last_state
|
|
|
|
snapshot_entities:
|
|
|
|
- light.wohnzimmer_vorne
|
|
|
|
- light.wohnzimmer_hinten
|
2022-02-02 23:45:01 +01:00
|
|
|
- light.kuche
|
2021-08-24 13:08:35 +02:00
|
|
|
- service: scene.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: scene.grun_blinken
|
2022-05-16 20:46:34 +02:00
|
|
|
data: {}
|
2021-08-24 13:08:35 +02:00
|
|
|
- delay:
|
|
|
|
hours: 0
|
|
|
|
minutes: 0
|
|
|
|
seconds: 5
|
|
|
|
milliseconds: 0
|
|
|
|
- service: scene.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: scene.wled_last_state
|
2022-05-16 20:46:34 +02:00
|
|
|
data: {}
|
2021-08-24 13:08:35 +02:00
|
|
|
mode: single
|
|
|
|
- id: '1625481640348'
|
|
|
|
alias: 'Anruf: Beim Telefonieren Musik pausieren'
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.fritz_box_7490_call_monitor_telefonbuch
|
|
|
|
to: talking
|
|
|
|
- platform: state
|
2021-12-02 15:16:06 +01:00
|
|
|
entity_id: sensor.le2123_phone_state
|
|
|
|
to: talking
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.moto_g_100_phone_state
|
2021-08-24 13:08:35 +02:00
|
|
|
to: talking
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
state: home
|
|
|
|
action:
|
|
|
|
- service: scene.create
|
|
|
|
data:
|
|
|
|
scene_id: media_last_state
|
|
|
|
snapshot_entities:
|
|
|
|
- media_player.wohnzimmer_main
|
|
|
|
- media_player.lg_webos_smart_tv
|
|
|
|
- media_player.ccze
|
|
|
|
- media_player.spotify_marcus_scholz
|
|
|
|
- media_player.xboxonex
|
|
|
|
- service: media_player.media_pause
|
|
|
|
target:
|
|
|
|
area_id:
|
|
|
|
- schlafzimmer
|
|
|
|
- wohnzimmer
|
|
|
|
- wait_for_trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.j9110_phone_state
|
|
|
|
to: idle
|
|
|
|
from: talking
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.fritz_box_7490_call_monitor_telefonbuch
|
|
|
|
to: idle
|
|
|
|
from: talking
|
|
|
|
- service: scene.turn_on
|
|
|
|
target:
|
|
|
|
entity_id:
|
|
|
|
- scene.media_last_state
|
|
|
|
mode: single
|
|
|
|
- id: '1628972104416'
|
|
|
|
alias: Raumduft nach einer Stunde wieder ausschalten
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- platform: device
|
|
|
|
type: turned_on
|
|
|
|
device_id: 5a08ac4c3b3893b540a9934fa92dccfa
|
|
|
|
entity_id: switch.flur_raumduft
|
|
|
|
domain: switch
|
|
|
|
for:
|
|
|
|
hours: 1
|
|
|
|
minutes: 0
|
|
|
|
seconds: 0
|
|
|
|
milliseconds: 0
|
|
|
|
condition: []
|
|
|
|
action:
|
|
|
|
- type: turn_off
|
|
|
|
device_id: 5a08ac4c3b3893b540a9934fa92dccfa
|
|
|
|
entity_id: switch.flur_raumduft
|
|
|
|
domain: switch
|
|
|
|
mode: single
|
|
|
|
- id: '1628972885682'
|
|
|
|
alias: Raumduft zum Aufstehen einschalten
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: input_text.sleep_as_android
|
|
|
|
to: sleep_tracking_stopped
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
state: home
|
|
|
|
action:
|
|
|
|
- type: turn_on
|
|
|
|
device_id: 5a08ac4c3b3893b540a9934fa92dccfa
|
|
|
|
entity_id: switch.flur_raumduft
|
|
|
|
domain: switch
|
|
|
|
mode: single
|
2021-09-06 13:34:19 +02:00
|
|
|
- id: '1630914505161'
|
|
|
|
alias: Beim Verlassen der Wohnung alles abschalten
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- platform: zone
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
zone: zone.home
|
|
|
|
event: leave
|
|
|
|
condition: []
|
|
|
|
action:
|
|
|
|
- service: light.turn_off
|
|
|
|
target:
|
|
|
|
area_id:
|
|
|
|
- wohnzimmer
|
|
|
|
- schlafzimmer
|
|
|
|
- kuche
|
2021-11-13 00:56:47 +01:00
|
|
|
- kinderzimmer
|
2021-09-06 13:34:19 +02:00
|
|
|
- type: turn_off
|
|
|
|
device_id: 6d1be741876624a70ab5b01b54c6fd6f
|
|
|
|
entity_id: switch.kuche_musik
|
|
|
|
domain: switch
|
|
|
|
- type: turn_off
|
|
|
|
device_id: 5a08ac4c3b3893b540a9934fa92dccfa
|
|
|
|
entity_id: switch.flur_raumduft
|
|
|
|
domain: switch
|
|
|
|
- service: media_player.turn_off
|
|
|
|
target:
|
|
|
|
area_id:
|
|
|
|
- schlafzimmer
|
|
|
|
- wohnzimmer
|
|
|
|
mode: single
|
2021-09-24 11:57:50 +02:00
|
|
|
- id: '1632477389492'
|
|
|
|
alias: Licht beim Heimkommen einschalten
|
|
|
|
description: Nur während Dunkelphase
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
to: home
|
|
|
|
from: not_home
|
|
|
|
condition:
|
2021-09-28 12:06:38 +02:00
|
|
|
- condition: or
|
|
|
|
conditions:
|
|
|
|
- condition: sun
|
|
|
|
before: sunrise
|
|
|
|
before_offset: '+1'
|
|
|
|
- condition: sun
|
2021-09-28 21:07:02 +02:00
|
|
|
after_offset: '-1'
|
|
|
|
after: sunset
|
2021-09-24 11:57:50 +02:00
|
|
|
action:
|
|
|
|
- service: script.moodlight_neutral
|
|
|
|
- service: light.turn_on
|
|
|
|
target:
|
|
|
|
device_id:
|
|
|
|
- 32d15eec63fe68d5770813d47da53657
|
|
|
|
- 53a27edf581fcf40f3bc8b253b1ee369
|
|
|
|
mode: single
|
2022-03-28 18:54:17 +02:00
|
|
|
- id: '1648485179021'
|
|
|
|
alias: Schalte den Fernseher mit WoL ein
|
|
|
|
trigger:
|
|
|
|
- platform: webostv.turn_on
|
|
|
|
entity_id: media_player.lg_webos_smart_tv
|
|
|
|
action:
|
|
|
|
- service: wake_on_lan.send_magic_packet
|
|
|
|
data:
|
|
|
|
mac: a8:23:fe:5d:4c:f8
|
2022-12-06 13:46:10 +01:00
|
|
|
- id: '1670088470265'
|
|
|
|
alias: Licht beim Heimkommen einschalten (XMas)
|
|
|
|
description: Nur während Dunkelphase
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
to: home
|
|
|
|
from: not_home
|
|
|
|
condition:
|
|
|
|
- condition: or
|
|
|
|
conditions:
|
|
|
|
- condition: sun
|
|
|
|
before: sunrise
|
|
|
|
before_offset: '+1'
|
|
|
|
- condition: sun
|
|
|
|
after_offset: '-1'
|
|
|
|
after: sunset
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
target:
|
|
|
|
device_id:
|
|
|
|
- 32d15eec63fe68d5770813d47da53657
|
|
|
|
- 53a27edf581fcf40f3bc8b253b1ee369
|
|
|
|
- 1ee1168af484d17fe81b226ac1c5d2ae
|
|
|
|
- c64e7c3dcda7f1c23e456959f2c60f39
|
|
|
|
data: {}
|
|
|
|
- device_id: c64e7c3dcda7f1c23e456959f2c60f39
|
|
|
|
domain: select
|
|
|
|
entity_id: select.kuche_preset
|
|
|
|
type: select_option
|
|
|
|
option: X-Mas
|
|
|
|
mode: single
|
|
|
|
- id: '1670088606575'
|
|
|
|
alias: Licht bei Sonnenuntergang einschalten (XMas)
|
|
|
|
description: Nur wenn jemand zuhause ist
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
event: sunset
|
|
|
|
offset: '-1:00'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
state: home
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
data: {}
|
|
|
|
target:
|
|
|
|
device_id:
|
|
|
|
- c64e7c3dcda7f1c23e456959f2c60f39
|
|
|
|
- 1ee1168af484d17fe81b226ac1c5d2ae
|
|
|
|
- type: turn_on
|
|
|
|
device_id: c64e7c3dcda7f1c23e456959f2c60f39
|
|
|
|
entity_id: light.kuche
|
|
|
|
domain: light
|
|
|
|
- device_id: c64e7c3dcda7f1c23e456959f2c60f39
|
|
|
|
domain: select
|
|
|
|
entity_id: select.kuche_preset
|
|
|
|
type: select_option
|
|
|
|
option: X-Mas
|
|
|
|
mode: single
|
2023-02-07 15:12:34 +01:00
|
|
|
- id: '1675778284738'
|
|
|
|
alias: Stündliche Zeitansage
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- platform: time_pattern
|
|
|
|
minutes: '0'
|
|
|
|
seconds: '0'
|
|
|
|
hours: '*'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
state: home
|
2023-05-01 20:57:16 +02:00
|
|
|
- condition: or
|
|
|
|
conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_text.sleep_as_android
|
|
|
|
state: sleep_tracking_stopped
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_text.sleep_as_android
|
|
|
|
state: alarm_alert_dismiss
|
2023-02-07 15:12:34 +01:00
|
|
|
action:
|
2023-05-04 11:50:04 +02:00
|
|
|
- service: tts.speak
|
2023-02-07 15:12:34 +01:00
|
|
|
data:
|
|
|
|
cache: true
|
2023-05-04 11:50:04 +02:00
|
|
|
media_player_entity_id: media_player.raspiaudio_muse_luxe
|
2023-02-07 15:12:34 +01:00
|
|
|
message: '{% set t = now().hour %} {% set m = ''Morgen'' if t < 12 else ''Nachmittag''
|
2023-05-01 20:57:16 +02:00
|
|
|
if t < 18 else ''Abend'' %} Guten {{m}} Marcus. Draußen sind es {{states.sensor.temperatur_aussen.state}}
|
|
|
|
Grad Celsius und es ist {{states.sensor.time.state}}
|
2023-02-07 15:12:34 +01:00
|
|
|
|
|
|
|
'
|
2023-05-04 11:50:04 +02:00
|
|
|
target:
|
|
|
|
entity_id: tts.piper
|
2023-02-07 15:12:34 +01:00
|
|
|
mode: single
|
2023-05-06 14:07:30 +02:00
|
|
|
- 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
|
2023-06-09 11:39:03 +02:00
|
|
|
entity_id: sensor.aussentemperator
|
|
|
|
above: sensor.wohnungstemperatur
|
2023-05-06 14:07:30 +02:00
|
|
|
for:
|
|
|
|
hours: 0
|
2023-06-09 11:39:03 +02:00
|
|
|
minutes: 5
|
2023-05-06 14:07:30 +02:00
|
|
|
seconds: 0
|
|
|
|
condition:
|
2023-06-09 18:27:01 +02:00
|
|
|
- condition: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
state: home
|
2023-05-06 14:07:30 +02:00
|
|
|
- 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}}
|
2023-06-09 11:39:03 +02:00
|
|
|
° Celsius {{((states.sensor.aussentemperator.state|float)-(states.sensor.wohnungstemperatur.state|float))
|
|
|
|
| round(1)}} Grad höher als die Wohnungstemperatur. Mach die Fenster zu und
|
|
|
|
gegebenenfalls die Rolladen runter.
|
2023-05-06 14:07:30 +02:00
|
|
|
|
|
|
|
'
|
|
|
|
mode: single
|
2023-06-09 18:27:01 +02:00
|
|
|
- id: '1686327239749'
|
|
|
|
alias: Fenster öffnen wenn es kühler wird
|
|
|
|
description: Im Sommer, wenn die Außentemperatur sich der Innentemperatur annähert.
|
|
|
|
trigger:
|
|
|
|
- platform: numeric_state
|
|
|
|
entity_id: sensor.aussentemperator
|
|
|
|
for:
|
|
|
|
hours: 0
|
|
|
|
minutes: 5
|
|
|
|
seconds: 0
|
|
|
|
below: sensor.wohnungstemperatur
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: person.marcus_scholz
|
|
|
|
state: home
|
|
|
|
- condition: or
|
|
|
|
conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_text.sleep_as_android
|
|
|
|
state: sleep_tracking_stopped
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_text.sleep_as_android
|
|
|
|
state: alarm_alert_dismiss
|
|
|
|
- condition: state
|
|
|
|
entity_id: sensor.season
|
|
|
|
state: summer
|
|
|
|
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
|
|
|
|
mode: single
|
|
|
|
variables:
|
|
|
|
message: 'Die Außentemperatur ist mit {{states.sensor.aussentemperator.state}}
|
2023-06-09 21:57:23 +02:00
|
|
|
° Celsius {{((states.sensor.wohnungstemperatur.state|float)-(states.sensor.aussentemperator.state|float))|round(1)}}
|
|
|
|
Grad niedriger als die Wohnungstemperatur. Lass die Frischluft herein!
|
2023-06-09 18:27:01 +02:00
|
|
|
|
|
|
|
'
|