From ea8b78395e9fd918ea17d4eb5fdafc6104585ea9 Mon Sep 17 00:00:00 2001 From: emufan Date: Sun, 20 Dec 2020 20:59:27 +0100 Subject: [PATCH] Update documentation according to merged pull request 44312 (#15963) Update documentation according to merged pull request 44312 --- source/_integrations/rest.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/rest.markdown b/source/_integrations/rest.markdown index 910777ecedb..c2b5739ce75 100644 --- a/source/_integrations/rest.markdown +++ b/source/_integrations/rest.markdown @@ -109,7 +109,7 @@ params: required: false type: [string, list] 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" or "application/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) + 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", "application/xml" or "application/xhtml+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_attributes_path: