mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Update for PR that allows list result for PR 28835 (#11210)
See https://github.com/home-assistant/home-assistant/pull/28835
This commit is contained in:
parent
62d7ff9126
commit
76a3c9e5af
@ -132,6 +132,8 @@ $ curl -X GET http://192.168.1.31/temperature/
|
|||||||
{"temperature": 77, "id": "sensor02", "name": "livingroom", "connected": true}
|
{"temperature": 77, "id": "sensor02", "name": "livingroom", "connected": true}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The response is expected to be a dictionary or a list with a dictionary as its 0th element.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
In this section you find some real-life examples of how to use this sensor.
|
In this section you find some real-life examples of how to use this sensor.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user