Fix indent

This commit is contained in:
Franck Nijhof 2020-02-26 13:54:58 +01:00
parent d8c22c325d
commit 0381d1ace4
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -256,11 +256,11 @@ Experiencing issues introduced by this release? Please report them in our [issue
- **Rest** - Many devices continue to use XML for RESTful APIs. This change implements converting XML output to JSON via `xmltojson` so it can work with the existing rest sensor component.
`xmltojson` tags may be confusing; if you are not familiar with the conversion, please use the [xmltodict](https://xmltodict-debugger.glitch.me/) tool created by [@balloob] to identify the tags to be used to parse the resulting JSON.
`xmltojson` tags may be confusing; if you are not familiar with the conversion, please use the [xmltodict](https://xmltodict-debugger.glitch.me/) tool created by [@balloob] to identify the tags to be used to parse the resulting JSON.
As the attributes that usually need to be scraped are deeper in the document, support for passing in a template to find the JSON attributes has been added. JSON APIs that do not have their attributes at the top level can also benefit from this change.
As the attributes that usually need to be scraped are deeper in the document, support for passing in a template to find the JSON attributes has been added. JSON APIs that do not have their attributes at the top level can also benefit from this change.
- ([@bdraco] - [#31809]) ([rest docs])
- ([@bdraco] - [#31809]) ([rest docs])
Example YAML configuration: