diff --git a/gateway/include/devices.h b/gateway/include/devices.h index 12ed71c..fd186d3 100644 --- a/gateway/include/devices.h +++ b/gateway/include/devices.h @@ -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(),