363 lines
9.3 KiB
YAML
363 lines
9.3 KiB
YAML
haloween:
|
|
alias: haloween - lamp flitsen
|
|
sequence:
|
|
- service: light.turn_on
|
|
target:
|
|
entity_id: light.lamp_voordeur_2
|
|
data: {}
|
|
- service: light.turn_off
|
|
target:
|
|
entity_id:
|
|
- light.rgb_lamp_tuin_rechts_voor_3
|
|
- light.rgb_lamp_tuin_rechts_voor_2
|
|
data: {}
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 0
|
|
milliseconds: 600
|
|
- service: light.turn_off
|
|
target:
|
|
entity_id: light.lamp_voordeur_2
|
|
data: {}
|
|
- service: light.turn_on
|
|
data:
|
|
rgb_color:
|
|
- 255
|
|
- 255
|
|
- 255
|
|
flash: short
|
|
brightness_pct: 100
|
|
target:
|
|
entity_id:
|
|
- light.rgb_lamp_tuin_rechts_voor_3
|
|
- light.rgb_lamp_tuin_rechts_voor_2
|
|
- service: light.turn_on
|
|
data:
|
|
rgb_color:
|
|
- 255
|
|
- 255
|
|
- 255
|
|
flash: short
|
|
brightness_pct: 100
|
|
target:
|
|
entity_id:
|
|
- light.rgb_lamp_tuin_rechts
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 1
|
|
milliseconds: 0
|
|
mode: single
|
|
icon: mdi:deathly-hallows
|
|
radio_keuken_slamfm:
|
|
alias: Radio keuken - SlamFM
|
|
sequence:
|
|
- choose:
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.speakers
|
|
state: keuken
|
|
sequence:
|
|
- service: media_player.play_media
|
|
target:
|
|
entity_id: media_player.keuken
|
|
data:
|
|
media_content_id: media-source://radio_browser/962e7e22-0601-11e8-ae97-52543be04c81
|
|
media_content_type: audio/mpeg
|
|
metadata:
|
|
title: SLAM!
|
|
thumbnail: https://www.slam.nl/images/favicons/slam.png
|
|
media_class: music
|
|
children_media_class:
|
|
navigateIds:
|
|
- {}
|
|
- media_content_type: app
|
|
media_content_id: media-source://radio_browser
|
|
- media_content_type: music
|
|
media_content_id: media-source://radio_browser/language
|
|
- media_content_type: music
|
|
media_content_id: media-source://radio_browser/language/nl
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.speakers
|
|
state: Woonkamer
|
|
sequence:
|
|
- service: media_player.play_media
|
|
target:
|
|
entity_id: media_player.bose_woonkamer
|
|
data:
|
|
media_content_id: media-source://radio_browser/962e7e22-0601-11e8-ae97-52543be04c81
|
|
media_content_type: audio/mpeg
|
|
metadata:
|
|
title: SLAM!
|
|
thumbnail: https://www.slam.nl/images/favicons/slam.png
|
|
media_class: music
|
|
children_media_class:
|
|
navigateIds:
|
|
- {}
|
|
- media_content_type: app
|
|
media_content_id: media-source://radio_browser
|
|
- media_content_type: music
|
|
media_content_id: media-source://radio_browser/language
|
|
- media_content_type: music
|
|
media_content_id: media-source://radio_browser/language/nl
|
|
mode: single
|
|
icon: mdi:radio
|
|
woonkamer_roborock_selecteer_beneden:
|
|
alias: woonkamer - Roborock selecteer beneden
|
|
sequence:
|
|
- data:
|
|
command: load_multi_map
|
|
params: 0
|
|
target:
|
|
entity_id: vacuum.grover
|
|
action: vacuum.send_command
|
|
- data:
|
|
option: Beneden
|
|
target:
|
|
entity_id: input_select.stofzuiger_verdiepingen
|
|
action: input_select.select_option
|
|
mode: single
|
|
icon: mdi:home-floor-g
|
|
description: ''
|
|
woonkamer_roborock_selecteer_boven:
|
|
alias: woonkamer - Roborock selecteer boven
|
|
sequence:
|
|
- data:
|
|
command: load_multi_map
|
|
params: 1
|
|
target:
|
|
entity_id: vacuum.grover
|
|
action: vacuum.send_command
|
|
- data:
|
|
option: Boven
|
|
target:
|
|
entity_id: input_select.stofzuiger_verdiepingen
|
|
action: input_select.select_option
|
|
mode: single
|
|
icon: mdi:home-floor-g
|
|
description: ''
|
|
halloween_play_scream:
|
|
alias: Halloween - play scream
|
|
sequence:
|
|
- service: media_player.volume_set
|
|
data:
|
|
volume_level: 0.83
|
|
target:
|
|
entity_id: media_player.voordeur_speaker
|
|
- service: media_player.play_media
|
|
target:
|
|
entity_id: media_player.voordeur_speaker
|
|
data:
|
|
media_content_id: media-source://media_source/media/scream.mp3
|
|
media_content_type: audio/mpeg
|
|
metadata:
|
|
title: scream.mp3
|
|
thumbnail:
|
|
media_class: music
|
|
children_media_class:
|
|
navigateIds:
|
|
- {}
|
|
- media_content_type: app
|
|
media_content_id: media-source://media_source
|
|
mode: single
|
|
halloween_play_witches:
|
|
alias: Halloween - play witches
|
|
sequence:
|
|
- service: media_player.volume_set
|
|
data:
|
|
volume_level: 0.83
|
|
target:
|
|
entity_id: media_player.voordeur_speaker
|
|
- service: media_player.play_media
|
|
target:
|
|
entity_id: media_player.voordeur_speaker
|
|
data:
|
|
media_content_id: media-source://media_source/media/Maniacal Witches Laugh-SoundBible.com-262127569.mp3
|
|
media_content_type: audio/mpeg
|
|
metadata:
|
|
title: Maniacal Witches Laugh-SoundBible.com-262127569.mp3
|
|
thumbnail:
|
|
media_class: music
|
|
children_media_class:
|
|
navigateIds:
|
|
- {}
|
|
- media_content_type: app
|
|
media_content_id: media-source://media_source
|
|
mode: single
|
|
woonkamer_alles_uit:
|
|
alias: Woonkamer - alles uit
|
|
sequence:
|
|
- service: scene.turn_on
|
|
target:
|
|
entity_id: scene.woonkamer_ochtend_scene
|
|
metadata: {}
|
|
- if:
|
|
- condition: time
|
|
after: '22:00:00'
|
|
then:
|
|
- service: scene.turn_on
|
|
target:
|
|
entity_id: scene.kerst_uit
|
|
metadata: {}
|
|
else:
|
|
- service: scene.turn_on
|
|
target:
|
|
entity_id: scene.kerst_tafel_uit
|
|
metadata: {}
|
|
mode: single
|
|
icon: mdi:power
|
|
esphome_update_all:
|
|
alias: 'esphome: update all'
|
|
sequence:
|
|
- repeat:
|
|
for_each: '{{ states.update | selectattr(''state'', ''eq'', ''on'') | map(attribute=''entity_id'')
|
|
| select(''in'', integration_entities(''esphome'')) | list }}'
|
|
sequence:
|
|
- service: update.install
|
|
data: {}
|
|
target:
|
|
entity_id: '{{ repeat.item }}'
|
|
- wait_template: '{{ is_state(repeat.item, ''off'') }}'
|
|
continue_on_timeout: true
|
|
mode: single
|
|
bed_time_clean:
|
|
alias: bed_time_clean
|
|
sequence:
|
|
- if:
|
|
- condition: state
|
|
entity_id: input_boolean.zuigen_als_we_slapen
|
|
state: 'on'
|
|
then:
|
|
- service: vacuum.start
|
|
target:
|
|
entity_id: vacuum.grover
|
|
data: {}
|
|
- service: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.zuigen_als_we_slapen
|
|
data: {}
|
|
description: ''
|
|
icon: mdi:vacuum-outline
|
|
stofzuiger_start_all:
|
|
alias: stofzuiger - start (all)
|
|
sequence:
|
|
- action: vacuum.start
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
device_id: b99930765798a4796ca3ebb87e84299e
|
|
description: ''
|
|
icon: mdi:robot-vacuum
|
|
oven_preheat:
|
|
alias: Oven preheat
|
|
sequence:
|
|
- action: home_connect_alt.start_program
|
|
data:
|
|
options:
|
|
- key: Cooking.Oven.Option.FastPreHeat
|
|
value: true
|
|
- key: Cooking.Oven.Option.SetpointTemperature
|
|
value: 180
|
|
- key: BSH.Common.Option.Duration
|
|
value: 1200
|
|
program_key: Cooking.Oven.Program.HeatingMode.HotAir
|
|
device_id: 7f3553c6228085ca77f09c2cb79114bc
|
|
description: ''
|
|
icon: mdi:stove
|
|
keuken_vaatwasser_start:
|
|
alias: Keuken - vaatwasser start
|
|
sequence:
|
|
- action: home_connect_alt.start_program
|
|
data:
|
|
validate: true
|
|
device_id: 36c964af9128f66e4d805461232853d2
|
|
program_key: Dishcare.Dishwasher.Program.Auto2
|
|
options:
|
|
- key: Dishcare.Dishwasher.Option.VarioSpeedPlus
|
|
value: true
|
|
description: ''
|
|
icon: mdi:dishwasher
|
|
generate_watchman_report:
|
|
alias: generate_watchman_report
|
|
sequence:
|
|
- action: watchman.report
|
|
data:
|
|
create_file: false
|
|
send_notification: true
|
|
parse_config: true
|
|
description: ''
|
|
icon: mdi:alert
|
|
roborockrevo_alles:
|
|
alias: Beneden stofzuigen
|
|
sequence:
|
|
- action: script.woonkamer_roborock_selecteer_beneden
|
|
metadata: {}
|
|
data: {}
|
|
- action: vacuum.send_command
|
|
data:
|
|
command: app_segment_clean
|
|
params:
|
|
- segments:
|
|
- 16
|
|
- 17
|
|
- 18
|
|
repeat: 1
|
|
target:
|
|
device_id: ed27da236ac6b520e2624904d20f767e
|
|
description: ''
|
|
icon: mdi:robot-vacuum
|
|
roborockrevo_eetkamer:
|
|
alias: Eetkamer stofzuigen
|
|
sequence:
|
|
- action: vacuum.send_command
|
|
data:
|
|
command: app_segment_clean
|
|
params:
|
|
- segments:
|
|
- 16
|
|
repeat: 1
|
|
target:
|
|
device_id: ed27da236ac6b520e2624904d20f767e
|
|
description: ''
|
|
icon: mdi:robot-vacuum
|
|
roborockrevo_woonkamer:
|
|
alias: Woonkamer stofzuigen
|
|
sequence:
|
|
- action: vacuum.send_command
|
|
data:
|
|
command: app_segment_clean
|
|
params:
|
|
- segments:
|
|
- 17
|
|
repeat: 1
|
|
target:
|
|
device_id: ed27da236ac6b520e2624904d20f767e
|
|
description: ''
|
|
icon: mdi:robot-vacuum
|
|
kiosk_zolder_bl_off:
|
|
sequence:
|
|
- action: ssh_command.exec_command
|
|
data:
|
|
host: 192.168.2.118
|
|
command: echo 0 | sudo tee /sys/class/backlight/*/brightness
|
|
user: homeassistant
|
|
pass: hass
|
|
alias: kiosk-zolder BL-off
|
|
description: ''
|
|
icon: mdi:projector-screen-off-outline
|
|
fields: {}
|
|
kiosk_zolder_bl_on:
|
|
sequence:
|
|
- action: ssh_command.exec_command
|
|
data:
|
|
host: 192.168.2.118
|
|
command: echo 100 | sudo tee /sys/class/backlight/*/brightness
|
|
user: homeassistant
|
|
pass: hass
|
|
alias: kiosk-zolder BL-on
|
|
description: ''
|
|
icon: mdi:projector-screen-off-outline
|
|
fields: {}
|