From fb14bbfab6d23cac1fc987a6190c11b41fadc4d7 Mon Sep 17 00:00:00 2001 From: Collin Guarino Date: Sun, 14 Feb 2016 23:15:03 -0500 Subject: Added documentation and changed Bridge.GetScenes to Bridge.GetAllScenes for clarification. --- schedule.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'schedule.go') diff --git a/schedule.go b/schedule.go index c586e1d..fb0b4d3 100644 --- a/schedule.go +++ b/schedule.go @@ -57,7 +57,7 @@ func (bridge *Bridge) GetAllSchedules() ([]Schedule, error) { } // Bridge.GetSchedule will get the attributes for an individual schedule. -// This is used as to optimize time when updating the state of a schedule item. +// This is used to optimize time when updating the state of a schedule item. // Note: The ID is not an index, it's a unique key generated for each schedule. func (bridge *Bridge) GetSchedule(id string) (Schedule, error) { uri := fmt.Sprintf("/api/%s/schedules/%s", bridge.Username, id) -- cgit v1.2.3