Can't get Deluge to work with HA

Hi there.

I’m not able to make the Deluge switch, and the deluge sensor work.

This is my config:

switch:
  - platform: deluge
    host: 10.0.24.3
    username: !secret deluge_username
    password: !secret deluge_password

sensor:
  - platform: deluge
     host: 10.0.24.3
     username: !secret deluge_username
     password: !secret deluge_password
     monitored_variables:
       - current_status
       - download_speed
       - upload_speed

This is from the log:

2018-08-27 21:38:03 WARNING (MainThread) [homeassistant.components.sensor] Platform deluge not ready yet. Retrying in 90 seconds.
2018-08-27 21:38:05 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating ping binary_sensor took longer than the scheduled update interval 0:00:10
2018-08-27 21:38:09 ERROR (SyncWorker_2) [homeassistant.components.switch.deluge] Connection to Deluge Daemon failed
2018-08-27 21:38:09 WARNING (MainThread) [homeassistant.components.switch] Platform deluge not ready yet. Retrying in 90 seconds.

Are the coinfig correct? It looks like the documentation. And the server is also on the same subnet as Home-Assistant.

In entities I don’t see any deluge entities

Some info:

  • Home-Assistant

Hass.io supervisor
Version 127
Latest version 127
Host System
Hostname Home-Assistant
System Ubuntu 16.04.5 LTS
Home Assistant 0.76.2

  • Deluge

Hostname Deluge
System Ubuntu 16.04.X LTS
Deluge version Lates stabile

Still a problem in Home Assistant 0.79.0