Add rfxtrx device classes to known types (#37698)

* Add device classes to known types

* Update homeassistant/components/rfxtrx/sensor.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
Joakim PlateandPaulus Schoutsen authored and GitHub committed 2020-07-10 21:47:37 +02:00
1 parent 91271f388c
commit 5255bf20d3
3 files changed
+61 -18

No files matched your search

+2 -2
View File
@@ -75,8 +75,8 @@ DATA_TYPES = OrderedDict(
("Energy usage", ""),
("Voltage", ""),
("Current", ""),
("Battery numeric", ""),
("Rssi numeric", ""),
("Battery numeric", UNIT_PERCENTAGE),
("Rssi numeric", "dBm"),
]
)