Fixed some more typos (#1368)

Changed 2 syntax-highlighting blocks to javascript. Because there are no comments in the json spec.
This commit is contained in:
Ashura 2016-10-30 18:26:56 +01:00 committed by Fabian Affolter
parent eb8dc08144
commit fad9920c03

View File

@ -205,7 +205,7 @@ Returns an array of state changes in the past. Each object contains further deta
}, },
"entity_id": "sensor.weather_temperature", "entity_id": "sensor.weather_temperature",
"last_changed": "2016-02-06T22:15:00+00:00", "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" "state": "-3.9"
}, },
{ {
@ -364,7 +364,7 @@ You can pass an optional JSON object to be used as `event_data`.
```json ```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. Requires a JSON object that represents the API to forward to.
```json ```javascript
{ {
"host": "machine", "host": "machine",
"api_password": "my_super_secret_password", "api_password": "my_super_secret_password",
@ -468,7 +468,7 @@ Cancel event forwarding to another Home Assistant instance.<br>
Requires a JSON object that represents the API to cancel forwarding to. Requires a JSON object that represents the API to cancel forwarding to.
```json ```javascript
{ {
"host": "machine", "host": "machine",
"api_password": "my_super_secret_password", "api_password": "my_super_secret_password",