20240410
This commit is contained in:
38
scripts.yaml
38
scripts.yaml
@@ -644,6 +644,11 @@ tuin_alles_aan:
|
||||
entity_id: 394a7c2c77d39b40523f79ca20d98a66
|
||||
domain: light
|
||||
brightness_pct: 100
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 2
|
||||
milliseconds: 0
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
target:
|
||||
@@ -658,7 +663,8 @@ tuin_alles_aan:
|
||||
data:
|
||||
brightness_pct: 35
|
||||
target:
|
||||
entity_id: light.philips_1744630p7_huelight
|
||||
entity_id:
|
||||
- light.lamp_afdak
|
||||
mode: single
|
||||
icon: mdi:shovel
|
||||
tuin_alles_uit:
|
||||
@@ -712,24 +718,20 @@ tuin_alles_uit:
|
||||
entity_id: light.lamp_spot_afdak
|
||||
data: {}
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.philips_1744630p7_huelight
|
||||
data: {}
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.lamp_tuin_en_garage_l1
|
||||
data: {}
|
||||
entity_id: light.lamp_afdak
|
||||
mode: single
|
||||
icon: mdi:shovel
|
||||
woonkamer_roborock_selecteer_beneden:
|
||||
alias: woonkamer - Roborock selecteer beneden
|
||||
sequence:
|
||||
- service: vacuum.send_command
|
||||
target:
|
||||
entity_id: vacuum.roborock_s5_max
|
||||
data:
|
||||
command: load_multi_map
|
||||
params: 2
|
||||
params: 0
|
||||
target:
|
||||
entity_id: vacuum.grover
|
||||
- service: input_select.select_option
|
||||
data:
|
||||
option: Beneden
|
||||
@@ -741,11 +743,11 @@ woonkamer_roborock_selecteer_boven:
|
||||
alias: woonkamer - Roborock selecteer boven
|
||||
sequence:
|
||||
- service: vacuum.send_command
|
||||
target:
|
||||
entity_id: vacuum.roborock_s5_max
|
||||
data:
|
||||
command: load_multi_map
|
||||
params: 1
|
||||
target:
|
||||
entity_id: vacuum.grover
|
||||
- service: input_select.select_option
|
||||
data:
|
||||
option: Boven
|
||||
@@ -851,3 +853,17 @@ woonkamer_alles_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
|
||||
|
||||
Reference in New Issue
Block a user