initial commit
This commit is contained in:
42
configuration/automation/global_ir_lights.yaml
Normal file
42
configuration/automation/global_ir_lights.yaml
Normal file
@ -0,0 +1,42 @@
|
||||
---
|
||||
- id: global_ir_light_on
|
||||
alias: '[Lifx] Infrared On'
|
||||
initial_state: "true"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sun.sun
|
||||
from: "above_horizon"
|
||||
to: "below_horizon"
|
||||
action:
|
||||
service: select.select_option
|
||||
data:
|
||||
option: "100%"
|
||||
entity_id:
|
||||
- select.aisle_ceiling_01_infrared_brightness
|
||||
# - select.backyard_01_infrared_brightness
|
||||
# - select.bedroom_guest_ceiling_01_infrared_brightness
|
||||
- select.bedroom_master_ceiling_01_infrared_brightness
|
||||
# - select.bedroom_olivia_ceiling_01_infrared_brightness
|
||||
- select.garage_gate_01_infrared_brightness
|
||||
- select.garage_ceiling_01_infrared_brightness
|
||||
|
||||
- id: global_ir_light_off
|
||||
alias: '[Lifx] Infrared Off'
|
||||
initial_state: 'true'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sun.sun
|
||||
from: "below_horizon"
|
||||
to: "above_horizon"
|
||||
action:
|
||||
service: select.select_option
|
||||
data:
|
||||
option: "Disabled"
|
||||
entity_id:
|
||||
- select.aisle_ceiling_01_infrared_brightness
|
||||
# - select.backyard_01_infrared_brightness
|
||||
# - select.bedroom_guest_ceiling_01_infrared_brightness
|
||||
- select.bedroom_master_ceiling_01_infrared_brightness
|
||||
# - select.bedroom_olivia_ceiling_01_infrared_brightness
|
||||
- select.garage_gate_01_infrared_brightness
|
||||
- select.garage_ceiling_01_infrared_brightness
|
Reference in New Issue
Block a user