diff --git a/homeassistant/components/rest/data.py b/homeassistant/components/rest/data.py index e198202ae57..f63d155871a 100644 --- a/homeassistant/components/rest/data.py +++ b/homeassistant/components/rest/data.py @@ -107,6 +107,7 @@ class RestData: timeout=self._timeout, follow_redirects=True, ) + response.encoding = self._encoding self.data = response.text self.headers = response.headers except httpx.TimeoutException as ex: