XMas automations
This commit is contained in:
parent
e1984a199d
commit
90ed6df217
@ -68,29 +68,28 @@
|
|||||||
- id: '1623673821789'
|
- id: '1623673821789'
|
||||||
alias: Gute Nacht!
|
alias: Gute Nacht!
|
||||||
description: Schalte alles (außer Schlafzimmer) aus, sobald das Schlaftracking startet.
|
description: Schalte alles (außer Schlafzimmer) aus, sobald das Schlaftracking startet.
|
||||||
trigger:
|
triggers:
|
||||||
- platform: state
|
- entity_id: input_text.sleep_as_android
|
||||||
entity_id: input_text.sleep_as_android
|
|
||||||
to: sleep_tracking_started
|
to: sleep_tracking_started
|
||||||
condition: []
|
trigger: state
|
||||||
action:
|
conditions: []
|
||||||
- service: light.turn_off
|
actions:
|
||||||
target:
|
- target:
|
||||||
area_id:
|
area_id:
|
||||||
- wohnzimmer
|
- wohnzimmer
|
||||||
- kuche
|
- kuche
|
||||||
- schlafzimmer
|
- schlafzimmer
|
||||||
- kinderzimmer
|
- kinderzimmer
|
||||||
data: {}
|
data: {}
|
||||||
|
action: light.turn_off
|
||||||
- type: turn_off
|
- type: turn_off
|
||||||
device_id: 6d1be741876624a70ab5b01b54c6fd6f
|
device_id: 6d1be741876624a70ab5b01b54c6fd6f
|
||||||
entity_id: switch.kuche_musik
|
entity_id: switch.kuche_musik
|
||||||
domain: switch
|
domain: switch
|
||||||
- service: notify.mobile_app_le2123
|
- data:
|
||||||
data:
|
|
||||||
message: Gute Nacht!
|
message: Gute Nacht!
|
||||||
- service: media_player.play_media
|
action: notify.mobile_app_le2123
|
||||||
target:
|
- target:
|
||||||
entity_id: media_player.raspiaudio_muse_luxe
|
entity_id: media_player.raspiaudio_muse_luxe
|
||||||
data:
|
data:
|
||||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
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_id: media-source://tts
|
||||||
- media_content_type: provider
|
- media_content_type: provider
|
||||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
||||||
- type: turn_off
|
action: media_player.play_media
|
||||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
- target:
|
||||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
|
||||||
domain: switch
|
|
||||||
- service: media_player.turn_off
|
|
||||||
target:
|
|
||||||
area_id:
|
area_id:
|
||||||
- wohnzimmer
|
- wohnzimmer
|
||||||
data: {}
|
data: {}
|
||||||
|
action: media_player.turn_off
|
||||||
|
- action: switch.turn_off
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
device_id:
|
||||||
|
- 1f3c4b5de4aea99bac83688ceb22293b
|
||||||
|
- 48dafb7f4a8ed6ccbb046758cb660c23
|
||||||
|
- c4ead7f6227e2ee4c43c4b0df829cd84
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1623868115464'
|
- id: '1623868115464'
|
||||||
alias: 420!
|
alias: 420!
|
||||||
@ -741,31 +745,34 @@
|
|||||||
- id: '1700482951854'
|
- id: '1700482951854'
|
||||||
alias: Licht bei Sonnenuntergang einschalten (XMas)
|
alias: Licht bei Sonnenuntergang einschalten (XMas)
|
||||||
description: ''
|
description: ''
|
||||||
trigger:
|
triggers:
|
||||||
- platform: sun
|
- event: sunset
|
||||||
event: sunset
|
|
||||||
offset: '-1:00'
|
offset: '-1:00'
|
||||||
condition:
|
trigger: sun
|
||||||
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: person.marcus_scholz
|
entity_id: person.marcus_scholz
|
||||||
state: home
|
state: home
|
||||||
action:
|
actions:
|
||||||
- data: {}
|
- data: {}
|
||||||
action: script.moodlight_xmas
|
action: script.moodlight_xmas
|
||||||
- type: turn_on
|
- action: switch.turn_on
|
||||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
metadata: {}
|
||||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
data: {}
|
||||||
domain: switch
|
target:
|
||||||
|
device_id:
|
||||||
|
- 1f3c4b5de4aea99bac83688ceb22293b
|
||||||
|
- 48dafb7f4a8ed6ccbb046758cb660c23
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1700483035319'
|
- id: '1700483035319'
|
||||||
alias: Licht bei Sonnenaufgang ausschalten (XMas)
|
alias: Licht bei Sonnenaufgang ausschalten (XMas)
|
||||||
description: ''
|
description: ''
|
||||||
trigger:
|
triggers:
|
||||||
- platform: sun
|
- event: sunrise
|
||||||
event: sunrise
|
|
||||||
offset: '+1:00'
|
offset: '+1:00'
|
||||||
condition: []
|
trigger: sun
|
||||||
action:
|
conditions: []
|
||||||
|
actions:
|
||||||
- target:
|
- target:
|
||||||
area_id:
|
area_id:
|
||||||
- schlafzimmer
|
- schlafzimmer
|
||||||
@ -782,11 +789,13 @@
|
|||||||
data:
|
data:
|
||||||
transition: 2
|
transition: 2
|
||||||
action: light.turn_off
|
action: light.turn_off
|
||||||
- type: turn_off
|
- action: switch.turn_off
|
||||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
metadata: {}
|
||||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
data: {}
|
||||||
domain: switch
|
target:
|
||||||
enabled: true
|
device_id:
|
||||||
|
- 1f3c4b5de4aea99bac83688ceb22293b
|
||||||
|
- 48dafb7f4a8ed6ccbb046758cb660c23
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1701774106609'
|
- id: '1701774106609'
|
||||||
alias: IKEA STYRBAR Wohnzimmer
|
alias: IKEA STYRBAR Wohnzimmer
|
||||||
|
14
scripts.yaml
14
scripts.yaml
@ -77,30 +77,30 @@ moodlight_orange_plasma:
|
|||||||
moodlight_xmas:
|
moodlight_xmas:
|
||||||
alias: Moodlight XMas
|
alias: Moodlight XMas
|
||||||
sequence:
|
sequence:
|
||||||
- service: light.turn_on
|
- data:
|
||||||
data:
|
|
||||||
brightness_pct: 20
|
brightness_pct: 20
|
||||||
transition: 2
|
transition: 2
|
||||||
effect: Plasma
|
effect: Glitter
|
||||||
target:
|
target:
|
||||||
device_id:
|
device_id:
|
||||||
- 6dcbd87b459412144bddc42af3ae8b83
|
- 6dcbd87b459412144bddc42af3ae8b83
|
||||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||||
- c64e7c3dcda7f1c23e456959f2c60f39
|
- c64e7c3dcda7f1c23e456959f2c60f39
|
||||||
- service: select.select_option
|
action: light.turn_on
|
||||||
target:
|
- target:
|
||||||
entity_id: select.wohnzimmer_hinten_color_palette, select.wohnzimmer_vorne_color_palette,
|
entity_id: select.wohnzimmer_hinten_color_palette, select.wohnzimmer_vorne_color_palette,
|
||||||
select.kuche_color_palette
|
select.kuche_color_palette
|
||||||
data:
|
data:
|
||||||
option: Orangery
|
option: Orangery
|
||||||
|
action: select.select_option
|
||||||
- condition: state
|
- condition: state
|
||||||
state: 'on'
|
state: 'on'
|
||||||
entity_id: media_player.lg_webos_smart_tv
|
entity_id: media_player.lg_webos_smart_tv
|
||||||
- service: light.turn_off
|
- target:
|
||||||
target:
|
|
||||||
device_id: 6dcbd87b459412144bddc42af3ae8b83
|
device_id: 6dcbd87b459412144bddc42af3ae8b83
|
||||||
data:
|
data:
|
||||||
transition: 2
|
transition: 2
|
||||||
|
action: light.turn_off
|
||||||
mode: single
|
mode: single
|
||||||
icon: mdi:lightbulb-on
|
icon: mdi:lightbulb-on
|
||||||
wled_wohnzimmer_nachster_effekt:
|
wled_wohnzimmer_nachster_effekt:
|
||||||
|
Loading…
Reference in New Issue
Block a user