Edit the-saloon.yaml
This commit is contained in:
parent
a06fd9035d
commit
fcc0f78726
@ -133,7 +133,7 @@ interval:
|
||||
JsonDocument doc;
|
||||
if (deserializeJson(doc, body)) return;
|
||||
for (JsonObject fs : doc.as<JsonArray>()) {
|
||||
if (strcmp(fs["mnt_point"] | "", "/data") == 0) { // your mount point
|
||||
if (strcmp(fs["mnt_point"] | "", "/mnt/dietpi_userdata") == 0) { // your mount point
|
||||
id(nas_disk_percent).publish_state(fs["percent"].as<float>());
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user