hass-core/homeassistant/components/rest
gjbadros 5f1b0fb15c Allow rest sensor list responses (#28835)
* Make rest sensor a little bit more flexible and allow the response to be a list with 0th element being a dictionary

* Black formatter wanted a different formatting

* Added test case for a list response with dict as 0th element

* Fixed lint error - it thinks a + STRING is an avoidance of using % sequences for log messages; I generally prefer explicit + rather than string juxtaposition for combining string literals, but sounds like that's not the standard

* Fixed test case -- I added it to the wrong scenario and need to use the one with json_attrs.
2019-11-26 22:10:58 +01:00
..
__init__.py Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
binary_sensor.py Black 2019-07-31 12:25:30 -07:00
manifest.json Update documentation link URL for integrations in all manifests (#27114) 2019-10-02 09:25:44 -07:00
notify.py Black 2019-07-31 12:25:30 -07:00
sensor.py Allow rest sensor list responses (#28835) 2019-11-26 22:10:58 +01:00
switch.py Black 2019-07-31 12:25:30 -07:00