Skip to content

Commit

Permalink
Option json_path_attributes incorrect (home-assistant#12188)
Browse files Browse the repository at this point in the history
Option `json_path_attributes` should be `json_attributes_path`.
  • Loading branch information
borpin authored Feb 27, 2020
1 parent e3c83b6 commit 166c1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/_integrations/rest.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ json_attributes:
description: A list of keys to extract values from a JSON dictionary result and then set as sensor attributes. If the endpoint returns XML with the "text/xml" content type, it will automatically be converted to JSON according to this [specification](https://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html)
required: false
type: [string, list]
json_path_attributes:
json_attributes_path:
description: A [JSONPath](https://goessner.net/articles/JsonPath/) that references the location of the `json_attributes` in the JSON content.
required: false
type: string
Expand Down

0 comments on commit 166c1aa

Please sign in to comment.