Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

Commit

Permalink
Update sensor.py
Browse files Browse the repository at this point in the history
Fix for  Homeassistant 2023.4.0

Thanks to @aturri
  • Loading branch information
sdesalve authored Apr 6, 2023
1 parent c5a350a commit 0634996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/zcsazzurro/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
_LOGGER.debug("payload: %s", string_payload)
_LOGGER.debug("verify_ssl: %s", verify_ssl)

rest = RestData(hass, method, _ENDPOINT, auth, headers, None, string_payload, verify_ssl, timeout)
rest = RestData(hass, method, _ENDPOINT, 'utf8', auth, headers, None, string_payload, verify_ssl, timeout)
await rest.async_update()

if rest.data is None:
Expand Down

0 comments on commit 0634996

Please sign in to comment.