File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ You should choose a unique device name (DEVICE_NAME) to avoid clashes with other
28
28
{"state" : " 20" , "attributes" : {"unit_of_measurement" : " °C" , "friendly_name" : " Bathroom Temperature" }}
29
29
```
30
30
31
- For a quick test ` curl ` can be useful to "simulate" a device.
31
+ For a quick test, ` curl ` can be useful to "simulate" a device.
32
32
33
33
``` bash
34
34
$ curl -X POST -H " x-ha-access: YOUR_PASSWORD" \
@@ -37,7 +37,7 @@ $ curl -X POST -H "x-ha-access: YOUR_PASSWORD" \
37
37
http://localhost:8123/api/states/sensor.bathroom_temperature
38
38
```
39
39
40
- Use again ` curl ` to retrieve the [ current state] ( /developers/rest_api/#get-apistatesltentity_id ) to check if the sensor is working.
40
+ You can then use ` curl ` again to retrieve the [ current sensor state] ( /developers/rest_api/#get-apistatesltentity_id ) and verify the sensor is working.
41
41
42
42
``` bash
43
43
$ curl -X GET -H " x-ha-access: YOUR_PASSWORD" \
You can’t perform that action at this time.
0 commit comments