         return dfd.reject()
 
   lightTrriger: (light, trigger) ->
+    # TODO: jsonから成功か否かを判別してbooleanでreturn
     uri = '/' + @user + '/lights/' + light.toString() + '/state'
     method = 'PUT'
     data =

        return dfd.promise()

  effectTrriget: (light, trigger) ->
    uri = '/' + @user + '/lights/' + light.toString() + '/state'
    method = 'PUT'
    data =

    $.ajax param

  getLights: () ->
    # TODO: jsonからライトの数だけ取り出してreturn
    dfd = $.Deferred()
    uri = '/' + @user + 'lights'
    method = 'GET'
