1
0

Move services in script around

This commit is contained in:
Przemek Grondek 2022-12-06 19:12:05 +01:00
parent c15458f76b
commit 0ef7c08550

View File

@ -7,24 +7,6 @@ good_night:
data: data:
option: Night option: Night
entity_id: input_select.home_mode entity_id: input_select.home_mode
- service: light.turn_off
entity_id:
- light.couch_lights
- light.tv_lights
- light.office
- light.kitchen_lights
- light.bedroom_lights
- light.bed_lamps
- light.bed_lightstrip
- light.kitchen_sink_lighstrip
- light.bathroom_lights
- light.shower_lights
- light.bathroom_mirror_lights
- light.bathroom_color_zha_group_0x0007
- light.hallway_light
- light.hallway_lightstrip
- light.balcony
- light.table_lamp_lights
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
@ -52,7 +34,6 @@ good_night:
data: { } data: { }
target: target:
entity_id: lock.front_door_lock_doorlock entity_id: lock.front_door_lock_doorlock
- choose: - choose:
- conditions: - conditions:
- condition: numeric_state - condition: numeric_state
@ -79,6 +60,24 @@ good_night:
entity_id: entity_id:
- climate.office_thermostat - climate.office_thermostat
- climate.dining_thermostat - climate.dining_thermostat
- service: light.turn_off
entity_id:
- light.couch_lights
- light.tv_lights
- light.office
- light.kitchen_lights
- light.bedroom_lights
- light.bed_lamps
- light.bed_lightstrip
- light.kitchen_sink_lighstrip
- light.bathroom_lights
- light.shower_lights
- light.bathroom_mirror_lights
- light.bathroom_color_zha_group_0x0007
- light.hallway_light
- light.hallway_lightstrip
- light.balcony
- light.table_lamp_lights
mode: single mode: single
icon: mdi:weather-night icon: mdi:weather-night
@ -128,24 +127,6 @@ leave_home:
data: data:
option: Away option: Away
entity_id: input_select.home_mode entity_id: input_select.home_mode
- service: light.turn_off
entity_id:
- light.couch_lights
- light.tv_lights
- light.office
- light.kitchen_lights
- light.bedroom_lights
- light.bed_lamps
- light.bed_lightstrip
- light.kitchen_sink_lighstrip
- light.bathroom_lights
- light.shower_lights
- light.bathroom_mirror_lights
- light.bathroom_color_zha_group_0x0007
- light.hallway_light
- light.hallway_lightstrip
- light.balcony
- light.table_lamp_lights
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
@ -158,8 +139,6 @@ leave_home:
- service: switch.turn_on - service: switch.turn_on
entity_id: entity_id:
- switch.kitchen_camera_outlet_on_off - switch.kitchen_camera_outlet_on_off
- switch.kitchen_state
- switch.hallway_state
- service: switch.turn_off - service: switch.turn_off
entity_id: entity_id:
- switch.printer_switch - switch.printer_switch
@ -197,6 +176,24 @@ leave_home:
- climate.office_thermostat - climate.office_thermostat
- climate.dining_thermostat - climate.dining_thermostat
- climate.bedroom_thermostat - climate.bedroom_thermostat
- service: light.turn_off
entity_id:
- light.couch_lights
- light.tv_lights
- light.office
- light.kitchen_lights
- light.bedroom_lights
- light.bed_lamps
- light.bed_lightstrip
- light.kitchen_sink_lighstrip
- light.bathroom_lights
- light.shower_lights
- light.bathroom_mirror_lights
- light.bathroom_color_zha_group_0x0007
- light.hallway_light
- light.hallway_lightstrip
- light.balcony
- light.table_lamp_lights
mode: single mode: single
icon: mdi:home-export-outline icon: mdi:home-export-outline