fix definition of type tags
This commit is contained in:
parent
77bd05cd5b
commit
b0dd938b5d
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -19,8 +19,8 @@ import (
|
||||||
type switchReport struct {
|
type switchReport struct {
|
||||||
Power float64 `json:"power"`
|
Power float64 `json:"power"`
|
||||||
WattPerSec float64 `json:"Ws"`
|
WattPerSec float64 `json:"Ws"`
|
||||||
Relay bool `json:relay`
|
Relay bool `json:"relay"`
|
||||||
Temperature float64 `json:"temperature`
|
Temperature float64 `json:"temperature"`
|
||||||
}
|
}
|
||||||
|
|
||||||
const namespace = "mystrom"
|
const namespace = "mystrom"
|
||||||
|
|
Loading…
Reference in a new issue