diff --git a/main.go b/main.go index 087c823..39daae0 100644 --- a/main.go +++ b/main.go @@ -19,8 +19,8 @@ import ( type switchReport struct { Power float64 `json:"power"` WattPerSec float64 `json:"Ws"` - Relay bool `json:relay` - Temperature float64 `json:"temperature` + Relay bool `json:"relay"` + Temperature float64 `json:"temperature"` } const namespace = "mystrom"