add icon for restart button
This commit is contained in:
parent
a7759a7c07
commit
67313b22c8
@ -118,7 +118,9 @@ Command* commands[] = {
|
|||||||
[](const char* msg) {
|
[](const char* msg) {
|
||||||
if (strcmp("PRESS", msg) == 0) ESP.restart();
|
if (strcmp("PRESS", msg) == 0) ESP.restart();
|
||||||
}
|
}
|
||||||
}).asDevice(gatewayDevice)
|
})
|
||||||
|
.asDevice(gatewayDevice)
|
||||||
|
.withIcon("mdi:restart")
|
||||||
.addPreconfigured(HaESP::heapStats)
|
.addPreconfigured(HaESP::heapStats)
|
||||||
.addPreconfigured(HaESP::restartInfo)
|
.addPreconfigured(HaESP::restartInfo)
|
||||||
.build(),
|
.build(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user