54 lines
1.7 KiB
YAML
54 lines
1.7 KiB
YAML
automation:
|
|
# Two lights and two switches for these corridor lights
|
|
- id: garage_entry_outside_2way_sync
|
|
alias: Garage Entry & Outside Light 2-Way Sync
|
|
initial_state: true
|
|
use_blueprint:
|
|
path: zorruno/two_three_way_sync.yaml
|
|
input:
|
|
members:
|
|
- switch.esp_garageentrylights_relay_1_corridor_lights
|
|
- switch.esp_loungesouthleftswitch_relay_2_outside_light_1
|
|
sync_on_start: true
|
|
startup_delay: 5
|
|
|
|
# Internal Garage Lights (Light controller is sonoff basic in cupboard)
|
|
- id: garage_lights_2way_sync
|
|
alias: Garage Lights 2-Way Sync
|
|
initial_state: true
|
|
use_blueprint:
|
|
path: zorruno/two_three_way_sync.yaml
|
|
input:
|
|
members:
|
|
- switch.esp_garageentrylights_relay_3_garage_lights
|
|
- switch.esp_garagelights_garage_lights
|
|
sync_on_start: true
|
|
startup_delay: 5
|
|
|
|
# Stair Lights Top
|
|
- id: stair_lights_top_2way_sync
|
|
alias: Stair lights Top Lights 2-Way Sync
|
|
initial_state: true
|
|
use_blueprint:
|
|
path: zorruno/two_three_way_sync.yaml
|
|
input:
|
|
members:
|
|
- switch.esp_centralstairs_top_relay_1_main_stair_lights
|
|
- switch.esp_centralstairs_bottom_relay_1_main_stair_lights_lower
|
|
- switch.esp_loungemiddleswitch_relay_3_downlights_north
|
|
sync_on_start: true
|
|
startup_delay: 5
|
|
|
|
# Stair Lights Bottom
|
|
- id: stair_footer_lights_2way_sync
|
|
alias: Stair Footer Lights 2-Way Sync
|
|
initial_state: true
|
|
use_blueprint:
|
|
path: zorruno/two_three_way_sync.yaml
|
|
input:
|
|
members:
|
|
- switch.esp_centralstairs_top_relay_2_stair_footer_lights
|
|
- switch.esp_centralstairs_bottom_relay_2_stair_footer_lights
|
|
sync_on_start: true
|
|
startup_delay: 5
|