Use float64
This commit is contained in:
parent
6128b7c0c3
commit
1e97025bca
@ -90,11 +90,11 @@ type (
|
||||
Breathe struct {
|
||||
Color Color `json:"color,omitempty"`
|
||||
FromColor Color `json:"from_color,omitempty"`
|
||||
Period float32 `json:"period,omitempty"`
|
||||
Cycles float32 `json:"cycles,omitempty"`
|
||||
Period float64 `json:"period,omitempty"`
|
||||
Cycles float64 `json:"cycles,omitempty"`
|
||||
Persist bool `json:"persist,omitempty"`
|
||||
PowerOn bool `json:"power_on,omitempty"`
|
||||
Peak float32 `json:"peak,omitempty"`
|
||||
Peak float64 `json:"peak,omitempty"`
|
||||
}
|
||||
)
|
||||
|
||||
@ -251,4 +251,4 @@ func (c *Client) Breathe(selector string, breathe Breathe) (*LifxResponse, error
|
||||
}
|
||||
|
||||
return s, nil
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user