[DISC] battery_ok discovery differentiation (#1958)

Differentiation between 0%-100% float battery_ok devices' discovery and binary_sensor devices battery_ok
This commit is contained in:
DigiH authored and GitHub committed 2024-06-10 11:49:43 -05:00
1 parent 417d28fb20
commit 6e906702ed
3 files changed
+36 -10

No files matched your search

+2 -2
View File
@@ -83,8 +83,8 @@ struct RTL_433device {
const char parameters[53][4][24] = {
// RTL_433 key, name, unit, device_class
{"alarm", "Alarm", "", ""},
{"battery_mV", "Battery", "mV", "voltage"},
{"battery_ok", "Battery", "%", "battery"},
{"battery_mV", "Battery Voltage", "mV", "voltage"},
{"battery_ok", "Battery", "", "battery"},
{"co2_ppm", "Carbon Dioxide", "ppm", "carbon_dioxide"},
{"depth_cm", "Depth", "cm", "distance"},
{"estimated_pm10_0_ug_m3", "Estimated PM10", "μg/m³", "pm10"},