Skip to content

Commit

Permalink
Change rtl_433_mqtt_hass.py to add supercap_V key
Browse files Browse the repository at this point in the history
  • Loading branch information
fallenpegasus authored and zuckschwerdt committed Aug 12, 2024
1 parent d1e1db9 commit 7ceeccb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/rtl_433_mqtt_hass.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,19 @@
}
},

"supercap_V": {
"device_type": "sensor",
"object_suffix": "V",
"config": {
"device_class": "voltage",
"name": "Supercap V",
"unit_of_measurement": "V",
"value_template": "{{ float(value) }}",
"state_class": "measurement",
"entity_category": "diagnostic"
}
},

"humidity": {
"device_type": "sensor",
"object_suffix": "H",
Expand Down

0 comments on commit 7ceeccb

Please sign in to comment.