Edit the-saloon.yaml

This commit is contained in:
ESPHome Device Builder 2026-10-18 21:17:36 +02:00
parent fcc0f78726
commit 2d9b25c07e

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"] | "", "/mnt/dietpi_userdata") == 0) { // your mount point
if (strcmp(fs["mnt_point"] | "", "/etc/hosts") == 0) { // your mount point
id(nas_disk_percent).publish_state(fs["percent"].as<float>());
break;
}