1
0

Update modes from scripts

This commit is contained in:
pgrondek 2021-05-11 20:32:43 +02:00
parent bac7c2f5b1
commit 2e5a9fb7e3

View File

@ -28,12 +28,19 @@ good_night:
- light.hallway_lightstrip - light.hallway_lightstrip
- light.computer_computer_cave_background - light.computer_computer_cave_background
- service: switch.turn_off - service: switch.turn_off
entity_id: entity_id: switch.desk_motor_on_off
- switch.desk_motor_on_off - service: input_boolean.turn_off
- switch.computer_outlet target:
- service: shell_command.pc_suspend entity_id: input_boolean.pc_caffeine
- service: script.pc_sleep
- service: hassio.addon_stop
data:
addon: core_samba
- service: cover.close_cover
target:
entity_id: cover.bedroom_blind
mode: single mode: single
icon: 'mdi:weather-night' icon: mdi:weather-night
good_morning: good_morning:
alias: Good Morning alias: Good Morning
sequence: sequence:
@ -44,12 +51,11 @@ good_morning:
option: Day option: Day
entity_id: input_select.home_mode entity_id: input_select.home_mode
- service: switch.turn_on - service: switch.turn_on
data: { }
entity_id: entity_id:
- switch.desk_motor_on_off - switch.desk_motor_on_off
- switch.computer_outlet - switch.computer_outlet
mode: single mode: single
icon: 'mdi:weather-sunny' icon: mdi:weather-sunny
leave_home: leave_home:
alias: Leave Home alias: Leave Home
sequence: sequence:
@ -60,7 +66,6 @@ leave_home:
option: Away option: Away
entity_id: input_select.home_mode entity_id: input_select.home_mode
- service: light.turn_off - service: light.turn_off
data: { }
entity_id: entity_id:
- light.desk_lightbar - light.desk_lightbar
- light.desk_lightbar_ambilight - light.desk_lightbar_ambilight
@ -82,9 +87,9 @@ leave_home:
- light.computer_computer_cave_background - light.computer_computer_cave_background
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.desk_motor_on_off entity_id: switch.desk_motor_on_off
- service: shell_command.pc_suspend - service: script.pc_sleep
mode: single mode: single
icon: 'mdi:home-export-outline' icon: mdi:home-export-outline
arrive_home: arrive_home:
alias: Arrive Home alias: Arrive Home
sequence: sequence:
@ -95,10 +100,8 @@ arrive_home:
option: Day option: Day
entity_id: input_select.home_mode entity_id: input_select.home_mode
- service: switch.turn_on - service: switch.turn_on
data: { }
entity_id: entity_id:
- switch.desk_motor_on_off - switch.desk_motor_on_off
- switch.computer_outlet - switch.computer_outlet
mode: single mode: single
icon: 'mdi:home-import-outline' icon: mdi:home-import-outline