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
|
|
|
|
notify_device: aec5a678d24922386b4db1d68e3e6997
|
|
|
|
- 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: media_player.turn_off
|
|
|
|
target:
|
|
|
|
area_id:
|
|
|
|
- wohnzimmer
|
|
|
|
- service: light.turn_off
|
|
|
|
target:
|
|
|
|
area_id:
|
|
|
|
- wohnzimmer
|
|
|
|
- kuche
|
|
|
|
- schlafzimmer
|
|
|
|
- service: notify.mobile_app_j9110
|
|
|
|
data:
|
|
|
|
message: Gute Nacht!
|
|
|
|
mode: single
|
|
|
|
- id: '1623868115464'
|
|
|
|
alias: 420!
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '16:20'
|
|
|
|
condition: []
|
|
|
|
action:
|
|
|
|
- service: notify.mobile_app_j9110
|
|
|
|
data:
|
|
|
|
message: Lodere es, Lustknabe!
|
|
|
|
title: SechszehnZwanzig
|
|
|
|
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:
|
|
|
|
area_id: schlafzimmer
|
|
|
|
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:
|
|
|
|
area_id: schlafzimmer
|
|
|
|
data: {}
|
|
|
|
- service: cast.show_lovelace_view
|
|
|
|
data:
|
|
|
|
entity_id: media_player.ccsz
|
|
|
|
dashboard_path: lovelace-test
|
|
|
|
mode: single
|
|
|
|
- id: '1624820688449'
|
|
|
|
alias: 'Anruf: Beim Klingeln grün blinken'
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.fritz_box_7490_call_monitor_telefonbuch
|
|
|
|
to: ringing
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.j9110_phone_state
|
|
|
|
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
|
|
|
|
- light.lichterkette_kuche
|
|
|
|
- service: scene.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: scene.grun_blinken
|
|
|
|
- delay:
|
|
|
|
hours: 0
|
|
|
|
minutes: 0
|
|
|
|
seconds: 5
|
|
|
|
milliseconds: 0
|
|
|
|
- service: scene.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: scene.wled_last_state
|
|
|
|
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
|
|
|
|
entity_id: sensor.j9110_phone_state
|
|
|
|
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
|