Sun Civil Twilight

View All Rules

alias: 'Sun Civil Twilight'
trigger:
  - platform: numeric_state
    entity_id: sun.sun
    value_template: '{{ state.attributes.elevation }}'
    below: -12
condition:
  condition: and
  conditions:
    - condition: time
      after: '00:00:00'
      before: '14:59:59'
action:
  - service: input_select.select_option
    data:
      entity_id: input_select.light_scene
      option: Morning

© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.