diff --git a/source/developers/rest_api.markdown b/source/developers/rest_api.markdown index 6f116cf77be..1903af9863d 100644 --- a/source/developers/rest_api.markdown +++ b/source/developers/rest_api.markdown @@ -205,7 +205,7 @@ Returns an array of state changes in the past. Each object contains further deta }, "entity_id": "sensor.weather_temperature", "last_changed": "2016-02-06T22:15:00+00:00", - "last_updated": "2016-02-06T22:15:00+00:00"", + "last_updated": "2016-02-06T22:15:00+00:00", "state": "-3.9" }, { @@ -364,7 +364,7 @@ You can pass an optional JSON object to be used as `event_data`. ```json { - next_rising":"2016-05-31T03:39:14+00:00", + "next_rising":"2016-05-31T03:39:14+00:00", } ``` @@ -447,7 +447,7 @@ Set up event forwarding to another Home Assistant instance. Requires a JSON object that represents the API to forward to. -```json +```javascript { "host": "machine", "api_password": "my_super_secret_password", @@ -468,7 +468,7 @@ Cancel event forwarding to another Home Assistant instance.
Requires a JSON object that represents the API to cancel forwarding to. -```json +```javascript { "host": "machine", "api_password": "my_super_secret_password",