aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin Guarino <collin.guarino@gmail.com>2016-01-23 23:18:19 -0500
committerCollin Guarino <collin.guarino@gmail.com>2016-01-23 23:18:19 -0500
commit5c2673de469cd9b812431ee4dc7093f141ab202d (patch)
tree591e3487816a2b490c297c81de0be4dd778c195e
parent00769d511a80342abb0a7aa72627da69a708a6a1 (diff)
Base file structure for lights.go implementation.
-rw-r--r--lights.go30
1 files changed, 30 insertions, 0 deletions
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