Added more configuration values so you could configure either switchs or lights, change what causes it to actually fire the scheduled events, set so that the numberOfDaysBack can be pulled from an HA input value, fixed to handle sqlite3 UTC to localtime translation.
Added more configuration values so you could configure either switchs or lights, change what causes it to actually fire the scheduled events, set so that the numberOfDaysBack can be pulled from an HA input value, fixed to handle sqlite3 UTC to localtime translation.