Home Assistant Unofficial Reference 2024.12.1
sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.rtorrent.sensor.RTorrentSensor
 

Namespaces

 homeassistant.components.rtorrent.sensor
 

Functions

def homeassistant.components.rtorrent.sensor.format_speed (speed)
 
None homeassistant.components.rtorrent.sensor.setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 homeassistant.components.rtorrent.sensor._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.rtorrent.sensor.DEFAULT_NAME = "rtorrent"
 
 homeassistant.components.rtorrent.sensor.PLATFORM_SCHEMA
 
string homeassistant.components.rtorrent.sensor.SENSOR_TYPE_ACTIVE_TORRENTS = "active_torrents"
 
string homeassistant.components.rtorrent.sensor.SENSOR_TYPE_ALL_TORRENTS = "all_torrents"
 
string homeassistant.components.rtorrent.sensor.SENSOR_TYPE_COMPLETE_TORRENTS = "complete_torrents"
 
string homeassistant.components.rtorrent.sensor.SENSOR_TYPE_CURRENT_STATUS = "current_status"
 
string homeassistant.components.rtorrent.sensor.SENSOR_TYPE_DOWNLOAD_SPEED = "download_speed"
 
string homeassistant.components.rtorrent.sensor.SENSOR_TYPE_DOWNLOADING_TORRENTS = "downloading_torrents"
 
string homeassistant.components.rtorrent.sensor.SENSOR_TYPE_STOPPED_TORRENTS = "stopped_torrents"
 
string homeassistant.components.rtorrent.sensor.SENSOR_TYPE_UPLOAD_SPEED = "upload_speed"
 
string homeassistant.components.rtorrent.sensor.SENSOR_TYPE_UPLOADING_TORRENTS = "uploading_torrents"