Question: If I were to bring in a CSV from to run lights to turn on at a time during the day, what would be the most efficient way to do so?
You may want to rephrase that. What does importing static data from a file has to do with detecting time of the day?