diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-14 22:37:57 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-14 22:37:57 -0500 |
commit | 8965587341cfe39f97d36eda052aae4d0040526e (patch) | |
tree | 1c234741f770a78f91e94ab7e53a4c1640806bda /schedule_test.go | |
parent | 2b5ad113cb0d3c7ec6804abec3a8d889edae3e1c (diff) |
Started working on bridge.CreateSchedule, better to start working on groups instead.
Diffstat (limited to 'schedule_test.go')
-rw-r--r-- | schedule_test.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/schedule_test.go b/schedule_test.go index fdb3df7..4aec8c6 100644 --- a/schedule_test.go +++ b/schedule_test.go @@ -20,3 +20,17 @@ func TestGetSchedule(t *testing.T) { bridge, _ := NewBridge("192.168.1.128", "427de8bd6d49f149c8398e4fc08f") _, _ = bridge.GetSchedule("4673980164949558") } + +// func TestCreateSchedule(t *testing.T) { +// bridge, _ := NewBridge("192.168.1.128", "427de8bd6d49f149c8398e4fc08f") +// schedule := Schedule{ +// Command: interface{ +// Address: "/api/fffffffff6338294fffffffff585692d/groups/0/action", +// Body: { +// Scene: "e5e33fdf2-off-0" // scene id +// } +// Method: "PUT", +// } +// } +// bridge.CreateSchedule() +// } |