Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
koesie10 committed Dec 12, 2021
1 parent 71c99be commit e7ba17b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmd/smartmeter/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ package main

import (
"fmt"
"log"
"time"

"github.com/koesie10/pflagenv"
"github.com/koesie10/smartmeter/debugjson"
"github.com/koesie10/smartmeter/influx"
Expand All @@ -10,8 +13,6 @@ import (
"github.com/koesie10/smartmeter/serialinput"
"github.com/koesie10/smartmeter/smartmeter"
"github.com/spf13/cobra"
"log"
"time"
)

var publishConfig = struct {
Expand All @@ -30,7 +31,7 @@ var publishConfig = struct {
DiscoveryInterval: 30 * time.Second,
DiscoveryQoS: 1, // At least once
DiscoveryPrefix: "homeassistant",
DevicePrefix: "weatherstation_",
DevicePrefix: "smartmeter_",
},
},

Expand Down

0 comments on commit e7ba17b

Please sign in to comment.