hue driver can set stuff now, I hope
This commit is contained in:
@@ -14,6 +14,13 @@ type State struct {
|
||||
Color *color.Color `json:"color"`
|
||||
}
|
||||
|
||||
func (s State) Empty() bool {
|
||||
return s.Power == nil &&
|
||||
s.Temperature == nil &&
|
||||
s.Intensity == nil &&
|
||||
s.Color == nil
|
||||
}
|
||||
|
||||
func (s State) String() string {
|
||||
parts := make([]string, 0, 4)
|
||||
if s.Power != nil {
|
||||
|
||||
Reference in New Issue
Block a user