Skip to content

Commit

Permalink
Merge pull request #7 from bootjp/feature/fix_response_data
Browse files Browse the repository at this point in the history
fix data type
  • Loading branch information
nasa9084 authored Feb 2, 2023
2 parents b4d11a3 + 2e8622a commit 529434a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions device.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ type DeviceStatus struct {
Color string `json:"color"`
ColorTemperature int `json:"colorTemperature"`
IsLackWater bool `json:"lackWater"`
Voltage int `json:"voltage"`
Weight int `json:"weight"`
Voltage float64 `json:"voltage"`
Weight float64 `json:"weight"`
ElectricityOfDay int `json:"electricityOfDay"`
ElectricCurrent float64 `json:"electricCurrent"`
LockState string `json:"lockState"`
Expand Down

0 comments on commit 529434a

Please sign in to comment.