Skip to content

Commit 2f7d74f

Browse files
Add icons to transmission entities (home-assistant#157436)
1 parent 8856678 commit 2f7d74f

File tree

2 files changed

+40
-4
lines changed

2 files changed

+40
-4
lines changed

homeassistant/components/transmission/icons.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,43 @@
11
{
2+
"entity": {
3+
"sensor": {
4+
"active_torrents": {
5+
"default": "mdi:counter"
6+
},
7+
"completed_torrents": {
8+
"default": "mdi:counter"
9+
},
10+
"download_speed": {
11+
"default": "mdi:cloud-download"
12+
},
13+
"paused_torrents": {
14+
"default": "mdi:counter"
15+
},
16+
"started_torrents": {
17+
"default": "mdi:counter"
18+
},
19+
"total_torrents": {
20+
"default": "mdi:counter"
21+
},
22+
"transmission_status": {
23+
"default": "mdi:information-outline"
24+
},
25+
"upload_speed": {
26+
"default": "mdi:cloud-upload"
27+
}
28+
},
29+
"switch": {
30+
"on_off": {
31+
"default": "mdi:cloud",
32+
"state": {
33+
"off": "mdi:cloud-off"
34+
}
35+
},
36+
"turtle_mode": {
37+
"default": "mdi:tortoise"
38+
}
39+
}
40+
},
241
"services": {
342
"add_torrent": {
443
"service": "mdi:download"

homeassistant/components/transmission/quality_scale.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ rules:
5555
Speed sensors change so frequently that disabling by default may be appropriate.
5656
entity-translations: done
5757
exception-translations: done
58-
icon-translations:
59-
status: todo
60-
comment: |
61-
Add icons for sensors & switches.
58+
icon-translations: done
6259
reconfiguration-flow: todo
6360
repair-issues: todo
6461
stale-devices: todo

0 commit comments

Comments
 (0)