mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Suppress error for start_torrents toggle (#35799)
This commit is contained in:
@@ -362,6 +362,8 @@ class TransmissionData:
|
||||
|
||||
def start_torrents(self):
|
||||
"""Start all torrents."""
|
||||
if len(self.torrents) <= 0:
|
||||
return
|
||||
self._api.start_all()
|
||||
|
||||
def stop_torrents(self):
|
||||
|
Reference in New Issue
Block a user