Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andrew-codechimp/247d510e8f29eab5a8a51303cd97cce2 to your computer and use it in GitHub Desktop.
Save andrew-codechimp/247d510e8f29eab5a8a51303cd97cce2 to your computer and use it in GitHub Desktop.
A binary sensor for Home Assistant to indicate all torrents completed
binary_sensor:
- platform: template
sensors:
transmission_all_complete:
friendly_name: Transmission All Complete
value_template: "{{ states('sensor.transmission_total_torrents')|float == states('sensor.transmission_completed_torrents')|float }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment