core/homeassistant
emufan 61c57d4d56
Add another xml content type for JSON conversion in RESTful sensor (#44312)
* Update sensor.py

Some xml-result is passed via "application/xhtml+xml" instead of text/xml or application/xml. And then the xml structure is not parsed to json as expected. I changed it locally, but suggest to add thise here as well.

* Update homeassistant/components/rest/sensor.py

Fine for me as well, as it is working this way as well. But I would not see any disadvantage to convert everything, what is possible - a better scrape sensor this way. ;)

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-12-18 14:27:12 -06:00
..
auth Add option to deactivate a user (#43463) 2020-11-27 09:13:16 +01:00
components Add another xml content type for JSON conversion in RESTful sensor (#44312) 2020-12-18 14:27:12 -06:00
generated Add Kuler Sky Bluetooth floor lamp integration (#42372) 2020-12-02 22:28:17 +01:00
helpers Remove invalidation_version from deprecated (#44156) 2020-12-12 22:24:16 +01:00
scripts
util Deprecate the use of keyring and credstash (#43854) 2020-12-02 16:55:33 +01:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py Fix deadlock if an integration from stage_1 fails (#43657) 2020-11-26 11:38:30 +01:00
config.py
config_entries.py Allow manual configuration of ignored config entries (#43947) 2020-12-07 09:25:04 +01:00
const.py Bump version to 2021.1 (#44298) 2020-12-16 23:59:45 +01:00
core.py Make input_datetime better handle timezones (#43396) 2020-11-26 20:20:10 +01:00
data_entry_flow.py
exceptions.py Correct service not found exception message (#43846) 2020-12-02 10:32:25 +01:00
loader.py
package_constraints.txt Bump zeroconf to 0.28.7 to fix thread safety (#44160) 2020-12-13 12:36:17 +01:00
requirements.py
runner.py Automatically clean up executor as part of closing loop (#43284) 2020-11-16 15:43:48 +01:00
setup.py
strings.json Add unknown_authorize_url_generation to base strings for config flows (#42484) 2020-11-24 12:00:16 -05:00