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(schedule).active_index(); internal: true select: - platform: template id: schedule name: "Light: Schedule" options: ["Disabled", "Grow", "Bloom"] initial_option: "Disabled" optimistic: true restore_value: true