Skip to content
Snippets Groups Projects
Select Git revision
  • 071c792cdf9a7f318dd9902709531eae605f03a5
  • main default protected
  • growscreen
3 results

light_settings.yaml

Blame
  • light_settings.yaml 542 B
    substitutions:
      # Schedules
      schedule_grow_on: "0 0 3 * * *"
      schedule_grow_off: "0 0 21 * * *"
      schedule_bloom_on: "0 0 6 * * *"
      schedule_bloom_off: "0 0 18 * * *"
    
    sensor:
      - platform: template
        id: light_schedule
        name: "Light Schedule"
        lambda: return id(select_light_schedule).active_index();
        internal: true
    
    select:
      - platform: template
        id: select_light_schedule
        name: "Light: Schedule"
        options: ["Disabled", "Grow", "Bloom"]
        initial_option: "Disabled"
        optimistic: true
        restore_value: true