From ecf3825ff1074fc5afe63af67a447974442d756a Mon Sep 17 00:00:00 2001
From: Erick Hitter <services@ethitter.com>
Date: Sat, 10 Sep 2016 18:54:26 -0700
Subject: [PATCH] Allow for different checks for status

---
 config-sample.json | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/config-sample.json b/config-sample.json
index 9023367..f3f671c 100644
--- a/config-sample.json
+++ b/config-sample.json
@@ -5,6 +5,21 @@
   "home_assistant_proto": "http",
   "home_assistant_pass": null,
   "buttons": {
-    "0": { "mac": "", "label": "", "entity_id": "" }
+    "mac": {
+      "mac": "",
+      "label": "",
+      "status": {
+        "entity": "",
+        "entity_id": ""
+      },
+      "on": {
+        "entity": "",
+        "entity_id": ""
+      },
+      "off": {
+        "entity": "",
+        "entity_id": ""
+      }
+    }
   }
 }
-- 
GitLab