mirror of
https://github.com/Xevion/go-ha.git
synced 2026-01-31 06:24:27 -06:00
set up entityListener and switch websocket library
This commit is contained in:
@@ -213,6 +213,10 @@ func convertTimeOfDayToActualOffset(t timeOfDay) time.Duration {
|
||||
|
||||
// app.Start() functions
|
||||
func RunSchedules(a *app) {
|
||||
if a.schedules.Len() == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
for {
|
||||
sched := popSchedule(a)
|
||||
// log.Default().Println(sched.realStartTime)
|
||||
|
||||
Reference in New Issue
Block a user