XMas automations
This commit is contained in:
parent
e1984a199d
commit
90ed6df217
@ -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
|
||||
|
14
scripts.yaml
14
scripts.yaml
@ -77,30 +77,30 @@ moodlight_orange_plasma:
|
||||
moodlight_xmas:
|
||||
alias: Moodlight XMas
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
- data:
|
||||
brightness_pct: 20
|
||||
transition: 2
|
||||
effect: Plasma
|
||||
effect: Glitter
|
||||
target:
|
||||
device_id:
|
||||
- 6dcbd87b459412144bddc42af3ae8b83
|
||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||
- c64e7c3dcda7f1c23e456959f2c60f39
|
||||
- service: select.select_option
|
||||
target:
|
||||
action: light.turn_on
|
||||
- target:
|
||||
entity_id: select.wohnzimmer_hinten_color_palette, select.wohnzimmer_vorne_color_palette,
|
||||
select.kuche_color_palette
|
||||
data:
|
||||
option: Orangery
|
||||
action: select.select_option
|
||||
- condition: state
|
||||
state: 'on'
|
||||
entity_id: media_player.lg_webos_smart_tv
|
||||
- service: light.turn_off
|
||||
target:
|
||||
- target:
|
||||
device_id: 6dcbd87b459412144bddc42af3ae8b83
|
||||
data:
|
||||
transition: 2
|
||||
action: light.turn_off
|
||||
mode: single
|
||||
icon: mdi:lightbulb-on
|
||||
wled_wohnzimmer_nachster_effekt:
|
||||
|
Loading…
Reference in New Issue
Block a user