Skip to content

Commit

Permalink
Update rtl_433_mqtt_hass.py to use moisture class
Browse files Browse the repository at this point in the history
Moisture should be "moisture" class, not "humidity" class.
  • Loading branch information
fallenpegasus authored Nov 25, 2023
1 parent 1e02cdc commit b1b7e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rtl_433_mqtt_hass.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
"device_type": "sensor",
"object_suffix": "H",
"config": {
"device_class": "humidity",
"device_class": "moisture",
"name": "Moisture",
"unit_of_measurement": "%",
"value_template": "{{ value|float }}",
Expand Down

0 comments on commit b1b7e5e

Please sign in to comment.