Why does Climate take so long???

This commit is contained in:
2021-07-13 15:09:07 -04:00
parent d29e39cef9
commit 5d4789d98e

View File

@ -4,6 +4,7 @@ import (
"fmt" "fmt"
"os" "os"
"strings" "strings"
"time"
"github.com/bogosj/tesla" "github.com/bogosj/tesla"
"github.com/therecipe/qt/widgets" "github.com/therecipe/qt/widgets"
@ -277,7 +278,10 @@ func enableClimate(i int) {
} else { } else {
vehicle.StopAirConditioning() vehicle.StopAirConditioning()
} }
go setValues() go func() {
time.Sleep(1 * time.Minute)
setValues()
}()
} }
func lockDoors(i int) { func lockDoors(i int) {