[LORA] Add water counter sensor with example (#1941)
* Add water counter example
This commit is contained in:
1 parent
b5e0223602
commit
bae4364e41
5 files changed
+427
-2
No files matched your search
+4
-2
@@ -125,11 +125,13 @@ struct LORAdevice {
|
||||
bool isDisc;
|
||||
};
|
||||
|
||||
const char LORAparameters[3][4][12] = {
|
||||
const char LORAparameters[5][4][12] = {
|
||||
// LORA key, name, unit, device_class
|
||||
{"tempc", "temperature", "°C", "temperature"},
|
||||
{"hum", "humidity", "%", "humidity"},
|
||||
{"moi", "moisture", "%", "humidity"}};
|
||||
{"moi", "moisture", "%", "humidity"},
|
||||
{"batt", "battery", "%", "battery"},
|
||||
{"count", "counter", "L", "water"}};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user