add icon for restart button

This commit is contained in:
Nicu Hodos 2025-03-26 14:26:54 +01:00
parent a7759a7c07
commit 67313b22c8

View File

@ -118,7 +118,9 @@ Command* commands[] = {
[](const char* msg) {
if (strcmp("PRESS", msg) == 0) ESP.restart();
}
}).asDevice(gatewayDevice)
})
.asDevice(gatewayDevice)
.withIcon("mdi:restart")
.addPreconfigured(HaESP::heapStats)
.addPreconfigured(HaESP::restartInfo)
.build(),