mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 09:56:52 +00:00
Fix indent
This commit is contained in:
parent
d8c22c325d
commit
0381d1ace4
@ -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.
|
- **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:
|
Example YAML configuration:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user