Bump python-qbittorrent to 0.4.1 (#30239)

This commit is contained in:
springstan 2019-12-28 10:09:42 +01:00 committed by Fabian Affolter
parent 2e07902999
commit cf7b70dd8c
3 changed files with 3 additions and 5 deletions

View file

@ -2,9 +2,7 @@
"domain": "qbittorrent",
"name": "Qbittorrent",
"documentation": "https://www.home-assistant.io/integrations/qbittorrent",
"requirements": [
"python-qbittorrent==0.3.1"
],
"requirements": ["python-qbittorrent==0.4.1"],
"dependencies": [],
"codeowners": []
}

View file

@ -107,7 +107,7 @@ class QBittorrentSensor(Entity):
def update(self):
"""Get the latest data from qBittorrent and updates the state."""
try:
data = self.client.sync()
data = self.client.sync_main_data()
self._available = True
except RequestException:
_LOGGER.error("Connection lost")

View file

@ -1601,7 +1601,7 @@ python-nmap==0.6.1
python-pushover==0.4
# homeassistant.components.qbittorrent
python-qbittorrent==0.3.1
python-qbittorrent==0.4.1
# homeassistant.components.ripple
python-ripple-api==0.0.3