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:
gjbadros 2019-11-26 13:20:22 -08:00 committed by Franck Nijhof
parent 62d7ff9126
commit 76a3c9e5af

View File

@ -132,6 +132,8 @@ $ curl -X GET http://192.168.1.31/temperature/
{"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
In this section you find some real-life examples of how to use this sensor.