From 623024ee29d6bfc879b7db9b79b9481e40c7d7e7 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Tue, 31 Jan 2017 19:05:18 -0500 Subject: [PATCH] Language cleanup on sensor.http A small cleanup of some language and phrasing on the sensor.http page. --- source/_components/sensor.http.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/sensor.http.markdown b/source/_components/sensor.http.markdown index fc294d49470..c3fcefa4943 100644 --- a/source/_components/sensor.http.markdown +++ b/source/_components/sensor.http.markdown @@ -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" \