mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 01:07:10 +00:00
Revert Transmission entities name changes (#89409)
This commit is contained in:
parent
3989ef8863
commit
c2f69dc59d
@ -1,7 +1,7 @@
|
||||
"""Constants for the Transmission Bittorent Client component."""
|
||||
DOMAIN = "transmission"
|
||||
|
||||
SWITCH_TYPES = {"on_off": "Switch", "turtle_mode": "Turtle mode"}
|
||||
SWITCH_TYPES = {"on_off": "Switch", "turtle_mode": "Turtle Mode"}
|
||||
|
||||
ORDER_NEWEST_FIRST = "newest_first"
|
||||
ORDER_OLDEST_FIRST = "oldest_first"
|
||||
|
@ -38,14 +38,14 @@ async def async_setup_entry(
|
||||
name = config_entry.data[CONF_NAME]
|
||||
|
||||
dev = [
|
||||
TransmissionSpeedSensor(tm_client, name, "Down speed", "download"),
|
||||
TransmissionSpeedSensor(tm_client, name, "Up speed", "upload"),
|
||||
TransmissionSpeedSensor(tm_client, name, "Down Speed", "download"),
|
||||
TransmissionSpeedSensor(tm_client, name, "Up Speed", "upload"),
|
||||
TransmissionStatusSensor(tm_client, name, "Status"),
|
||||
TransmissionTorrentsSensor(tm_client, name, "Active torrents", "active"),
|
||||
TransmissionTorrentsSensor(tm_client, name, "Paused torrents", "paused"),
|
||||
TransmissionTorrentsSensor(tm_client, name, "Total torrents", "total"),
|
||||
TransmissionTorrentsSensor(tm_client, name, "Completed torrents", "completed"),
|
||||
TransmissionTorrentsSensor(tm_client, name, "Started torrents", "started"),
|
||||
TransmissionTorrentsSensor(tm_client, name, "Active Torrents", "active"),
|
||||
TransmissionTorrentsSensor(tm_client, name, "Paused Torrents", "paused"),
|
||||
TransmissionTorrentsSensor(tm_client, name, "Total Torrents", "total"),
|
||||
TransmissionTorrentsSensor(tm_client, name, "Completed Torrents", "completed"),
|
||||
TransmissionTorrentsSensor(tm_client, name, "Started Torrents", "started"),
|
||||
]
|
||||
|
||||
async_add_entities(dev, True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user