more
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
package devices
|
||||
|
||||
import (
|
||||
"app/pkg/datastore"
|
||||
"app/pkg/mqtt"
|
||||
"app/pkg/telldus"
|
||||
"fmt"
|
||||
"log"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"git.k7n.net/mats/go-telldus/pkg/datastore"
|
||||
"git.k7n.net/mats/go-telldus/pkg/mqtt"
|
||||
"git.k7n.net/mats/go-telldus/pkg/telldus"
|
||||
)
|
||||
|
||||
// EventManager handles telldus events and callbacks
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
package devices
|
||||
|
||||
import (
|
||||
"app/pkg/datastore"
|
||||
"app/pkg/telldus"
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"git.k7n.net/mats/go-telldus/pkg/datastore"
|
||||
"git.k7n.net/mats/go-telldus/pkg/telldus"
|
||||
)
|
||||
|
||||
// Syncer handles synchronization of devices and sensors to the database
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
package mqtt
|
||||
|
||||
import (
|
||||
"app/pkg/datastore"
|
||||
"app/pkg/telldus"
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"git.k7n.net/mats/go-telldus/pkg/datastore"
|
||||
"git.k7n.net/mats/go-telldus/pkg/telldus"
|
||||
)
|
||||
|
||||
// DeviceDiscovery represents Home Assistant device discovery payload
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
package mqtt
|
||||
|
||||
import (
|
||||
"app/pkg/datastore"
|
||||
"app/pkg/telldus"
|
||||
"fmt"
|
||||
|
||||
"git.k7n.net/mats/go-telldus/pkg/datastore"
|
||||
"git.k7n.net/mats/go-telldus/pkg/telldus"
|
||||
|
||||
mqtt "github.com/eclipse/paho.mqtt.golang"
|
||||
)
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"app/pkg/telldus"
|
||||
"git.k7n.net/mats/go-telldus/pkg/telldus"
|
||||
)
|
||||
|
||||
// Manager handles the telldusd daemon lifecycle
|
||||
|
||||
Reference in New Issue
Block a user