Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Feb 26, 2020
1 parent d8c22c3 commit 0381d1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/_posts/2020-02-26-release-106.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 0381d1a

Please sign in to comment.