Language cleanup on sensor.http

A small cleanup of some language and phrasing on the sensor.http page.
This commit is contained in:
Josh Wright 2017-01-31 19:05:18 -05:00 committed by GitHub
parent 226fc527d4
commit 623024ee29

View File

@ -28,7 +28,7 @@ You should choose a unique device name (DEVICE_NAME) to avoid clashes with other
{"state": "20", "attributes": {"unit_of_measurement": "°C", "friendly_name": "Bathroom Temperature"}}
```
For a quick test `curl` can be useful to "simulate" a device.
For a quick test, `curl` can be useful to "simulate" a device.
```bash
$ curl -X POST -H "x-ha-access: YOUR_PASSWORD" \
@ -37,7 +37,7 @@ $ curl -X POST -H "x-ha-access: YOUR_PASSWORD" \
http://localhost:8123/api/states/sensor.bathroom_temperature
```
Use again `curl` to retrieve the [current state](/developers/rest_api/#get-apistatesltentity_id) to check if the sensor is working.
You can then use `curl` again to retrieve the [current sensor state](/developers/rest_api/#get-apistatesltentity_id) and verify the sensor is working.
```bash
$ curl -X GET -H "x-ha-access: YOUR_PASSWORD" \