Work in progress: Added schedule table to database and working to have devices turn on/off based upon one or more records in that table.  Currently not functioning due to an issue in the "timeRangeCheck" function.