From 55e4ed57df0b2738fbdadcddf7896581b034b85b Mon Sep 17 00:00:00 2001 From: NADAL Jean-Baptiste Date: Wed, 18 May 2016 22:19:39 +0200 Subject: [PATCH] Proposal for Timer Object. --- src/data/Timers.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/data/Timers.json diff --git a/src/data/Timers.json b/src/data/Timers.json new file mode 100644 index 00000000..e564a769 --- /dev/null +++ b/src/data/Timers.json @@ -0,0 +1,20 @@ +{ + "timers" : [ + { + "active":false, + "id": "Sprinklers/7", + "start_time": "17:30", + "recurrence": 1, + "duration": 30, + "action": "start" + }, + { + "active": true, + "id": "Sprinklers/7", + "start_time": "17:30", + "recurrence": 0, + "duration": 30, + "action": "stop" + } + ] +}