XMas automations
This commit is contained in:
@@ -68,29 +68,28 @@
|
||||
- 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
|
||||
triggers:
|
||||
- entity_id: input_text.sleep_as_android
|
||||
to: sleep_tracking_started
|
||||
condition: []
|
||||
action:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
trigger: state
|
||||
conditions: []
|
||||
actions:
|
||||
- target:
|
||||
area_id:
|
||||
- wohnzimmer
|
||||
- kuche
|
||||
- schlafzimmer
|
||||
- kinderzimmer
|
||||
data: {}
|
||||
action: light.turn_off
|
||||
- type: turn_off
|
||||
device_id: 6d1be741876624a70ab5b01b54c6fd6f
|
||||
entity_id: switch.kuche_musik
|
||||
domain: switch
|
||||
- service: notify.mobile_app_le2123
|
||||
data:
|
||||
- data:
|
||||
message: Gute Nacht!
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
action: notify.mobile_app_le2123
|
||||
- target:
|
||||
entity_id: media_player.raspiaudio_muse_luxe
|
||||
data:
|
||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
||||
@@ -106,15 +105,20 @@
|
||||
media_content_id: media-source://tts
|
||||
- media_content_type: provider
|
||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
||||
- type: turn_off
|
||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
||||
domain: switch
|
||||
- service: media_player.turn_off
|
||||
target:
|
||||
action: media_player.play_media
|
||||
- target:
|
||||
area_id:
|
||||
- wohnzimmer
|
||||
data: {}
|
||||
action: media_player.turn_off
|
||||
- action: switch.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
device_id:
|
||||
- 1f3c4b5de4aea99bac83688ceb22293b
|
||||
- 48dafb7f4a8ed6ccbb046758cb660c23
|
||||
- c4ead7f6227e2ee4c43c4b0df829cd84
|
||||
mode: single
|
||||
- id: '1623868115464'
|
||||
alias: 420!
|
||||
@@ -741,31 +745,34 @@
|
||||
- id: '1700482951854'
|
||||
alias: Licht bei Sonnenuntergang einschalten (XMas)
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunset
|
||||
triggers:
|
||||
- event: sunset
|
||||
offset: '-1:00'
|
||||
condition:
|
||||
trigger: sun
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: person.marcus_scholz
|
||||
state: home
|
||||
action:
|
||||
actions:
|
||||
- data: {}
|
||||
action: script.moodlight_xmas
|
||||
- type: turn_on
|
||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
||||
domain: switch
|
||||
- action: switch.turn_on
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
device_id:
|
||||
- 1f3c4b5de4aea99bac83688ceb22293b
|
||||
- 48dafb7f4a8ed6ccbb046758cb660c23
|
||||
mode: single
|
||||
- id: '1700483035319'
|
||||
alias: Licht bei Sonnenaufgang ausschalten (XMas)
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunrise
|
||||
triggers:
|
||||
- event: sunrise
|
||||
offset: '+1:00'
|
||||
condition: []
|
||||
action:
|
||||
trigger: sun
|
||||
conditions: []
|
||||
actions:
|
||||
- target:
|
||||
area_id:
|
||||
- schlafzimmer
|
||||
@@ -782,11 +789,13 @@
|
||||
data:
|
||||
transition: 2
|
||||
action: light.turn_off
|
||||
- type: turn_off
|
||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
||||
domain: switch
|
||||
enabled: true
|
||||
- action: switch.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
device_id:
|
||||
- 1f3c4b5de4aea99bac83688ceb22293b
|
||||
- 48dafb7f4a8ed6ccbb046758cb660c23
|
||||
mode: single
|
||||
- id: '1701774106609'
|
||||
alias: IKEA STYRBAR Wohnzimmer
|
||||
|
Reference in New Issue
Block a user