mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix deluge DeprecationWarning (#97624)
This commit is contained in:
parent
ad0873549d
commit
4196c43416
@ -87,7 +87,7 @@ class DelugeFlowHandler(ConfigFlow, domain=DOMAIN):
|
||||
username = user_input[CONF_USERNAME]
|
||||
password = user_input[CONF_PASSWORD]
|
||||
api = DelugeRPCClient(
|
||||
host=host, port=port, username=username, password=password
|
||||
host=host, port=port, username=username, password=password, decode_utf8=True
|
||||
)
|
||||
try:
|
||||
await self.hass.async_add_executor_job(api.connect)
|
||||
|
Loading…
x
Reference in New Issue
Block a user