fix definition of type tags

This commit is contained in:
Andre Kully 2021-12-23 15:35:28 +01:00
parent 77bd05cd5b
commit b0dd938b5d

View file

@ -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"