mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
everything's gotta change
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
# alias: "Adaptive Lights: Kitchen"
|
||||
# description: ""
|
||||
# triggers:
|
||||
# - trigger: state
|
||||
# entity_id:
|
||||
# - binary_sensor.kitchen_motion
|
||||
# - binary_sensor.kitchen_presence
|
||||
# to:
|
||||
# - "on"
|
||||
# id: Motion or Presence
|
||||
# alias: Motion or Presence
|
||||
# - trigger: event
|
||||
# event_type: timer.finished
|
||||
# event_data:
|
||||
# entity_id: timer.kitchen_lights
|
||||
# id: Timer finished
|
||||
# alias: Kitchen Lights Timer Finished
|
||||
# conditions: []
|
||||
# actions:
|
||||
# - alias: Turn on the lights, start the timer, or turn off the lights?
|
||||
# choose:
|
||||
# - conditions:
|
||||
# - condition: trigger
|
||||
# id:
|
||||
# - Motion or Presence
|
||||
# sequence:
|
||||
# - if:
|
||||
# - condition: state
|
||||
# entity_id: switch.adaptive_lighting_kitchen_northern
|
||||
# state:
|
||||
# - "off"
|
||||
# then:
|
||||
# - action: switch.turn_on
|
||||
# metadata: {}
|
||||
# target:
|
||||
# entity_id: switch.adaptive_lighting_kitchen_northern
|
||||
# data: {}
|
||||
# alias: Turn on the light, if needed
|
||||
# - action: timer.start
|
||||
# metadata: {}
|
||||
# target:
|
||||
# entity_id: timer.kitchen_lights
|
||||
# data: {}
|
||||
# alias: Occupancy with the lights off
|
||||
# - conditions:
|
||||
# - condition: trigger
|
||||
# id:
|
||||
# - Timer finished
|
||||
# sequence:
|
||||
# - action: switch.turn_off
|
||||
# metadata: {}
|
||||
# target:
|
||||
# entity_id: switch.adaptive_lighting_kitchen_northern
|
||||
# data: {}
|
||||
# alias: Timer finished so turn off the lights
|
||||
# mode: single
|
||||
Reference in New Issue
Block a user