aboutsummaryrefslogtreecommitdiff
path: root/light.go
AgeCommit message (Collapse)Author
2016-02-07Simplified light.On/Off and added error returns.Collin Guarino
2016-02-07Added light.Toggle func and documentation for On, Off, Toggle.Collin Guarino
2016-02-07Restructured light struct and all funcs to manage bridge association.Collin Guarino
2016-02-07Configuring On/Off functions for lights.Collin Guarino
2016-02-06Fixed LightState struct and bridge.Put request model.Collin Guarino
2016-02-04Added json bindings for LightState struct.Collin Guarino
2016-02-04Added index to Light struct to easily reference it from []light.Collin Guarino
2016-02-04Prepared SetLightState for bridge.PutCollin Guarino
2016-02-02Convered GetAllLights to use the bridge.Get function.Collin Guarino
2016-01-31Cleaned up code formatting.Collin Guarino
2016-01-31Refactored naming convention for http.Collin Guarino
2016-01-31Refactored error system to make sure all functions return an error if it occurs.Collin Guarino
2016-01-31Rough implementation of SetLightState with unit tests.Collin Guarino
2016-01-31Fixed json unmarshal issue in GetAllLights caused by invalid data type (was ↵Collin Guarino
not []float).
2016-01-30Fixed light state float types and started SetLightState func.Collin Guarino
2016-01-30Prepared SetLightState struct for SetState func.Collin Guarino
2016-01-30Renamed lights files to light (singular).Collin Guarino