Edit the-saloon.yaml

This commit is contained in:
ESPHome Device Builder 2026-10-18 21:15:26 +02:00
parent a06fd9035d
commit fcc0f78726

View File

@ -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;
}