balcony-late-night-dim.yaml 346 Bytes
Newer Older
Erick Hitter's avatar
Erick Hitter committed
1 2 3
alias: 'Dim balcony lights after midnight'
trigger:
  platform: time
Erick Hitter's avatar
Erick Hitter committed
4
  at: "00:00"
Erick Hitter's avatar
Erick Hitter committed
5
condition:
Erick Hitter's avatar
Erick Hitter committed
6 7 8 9 10 11 12 13
  condition: or
  conditions:
    - condition: state
      entity_id: light.balcony_left
      state: 'on'
    - condition: state
      entity_id: light.balcony_right
      state: 'on'
Erick Hitter's avatar
Erick Hitter committed
14 15 16
action:
  service: scene.turn_on
  entity_id: scene.balcony_dimmed