From 5c2673de469cd9b812431ee4dc7093f141ab202d Mon Sep 17 00:00:00 2001 From: Collin Guarino Date: Sat, 23 Jan 2016 23:18:19 -0500 Subject: Base file structure for lights.go implementation. --- lights.go | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 lights.go diff --git a/lights.go b/lights.go new file mode 100644 index 0000000..b64eaed --- /dev/null +++ b/lights.go @@ -0,0 +1,30 @@ +package main + +import ( + "log" +) + +type Light struct { + State struct { + On bool + Bri int + hue int + sat int + effect string // TODO: what is this? + xy []string // TODO: what is this? + ct int // TODO: what is this? + alert string + colormode string + reachable bool + } + Type string + Name string + ModelID string + ManufacturerName string + UniqueID string + SWVersion string // TODO: what is this? +} + +func GetAllLights() { + +} \ No newline at end of file -- cgit v1.2.3