From 98902ef548356d7c0ad129a3e07d79ea86c46cdd Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 26 Apr 2015 17:36:14 -0700 Subject: [PATCH] Fix API doc --- source/developers/api.markdown | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/developers/api.markdown b/source/developers/api.markdown index e85a77082a4..ac9737a5d44 100644 --- a/source/developers/api.markdown +++ b/source/developers/api.markdown @@ -123,8 +123,10 @@ Expects a JSON object that has atleast a state attribute: ```json { "state": "below_horizon", - "next_rising": "07:04:15 29-10-2013", - "next_setting": "18:00:31 29-10-2013" + "attributes": { + "next_rising": "07:04:15 29-10-2013", + "next_setting": "18:00:31 29-10-2013" + } } ```