5f1b0fb15c
* 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. |
||
---|---|---|
.. | ||
__init__.py | ||
binary_sensor.py | ||
manifest.json | ||
notify.py | ||
sensor.py | ||
switch.py |