mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-04-21 10:07:03 -04:00
Change rtl_433_mqtt_hass.py to use moisture class (#2726)
Moisture should be "moisture" class, not "humidity" class.
This commit is contained in:
committed by
Christian W. Zuckschwerdt
parent
6487f1cc06
commit
ca2d9b7bf6
@@ -239,9 +239,9 @@ mappings = {
|
||||
|
||||
"moisture": {
|
||||
"device_type": "sensor",
|
||||
"object_suffix": "H",
|
||||
"object_suffix": "M",
|
||||
"config": {
|
||||
"device_class": "humidity",
|
||||
"device_class": "moisture",
|
||||
"name": "Moisture",
|
||||
"unit_of_measurement": "%",
|
||||
"value_template": "{{ value|float }}",
|
||||
|
||||
Reference in New Issue
Block a user