Add support for a refresh command

This commit is contained in:
2024-02-13 11:50:08 +11:00
parent bbc54947b1
commit 55d114afd6

View File

@@ -268,6 +268,8 @@ void processCommandMessage(const String &topic, const String &payload) {
startFetchingPosition(shades[i].ID, -1);
timer.in(100, sendFetchPosition, shades[i].ID);
} else if (payload == "REFRESH") {
startFetchingPosition(shades[i].ID, -1);
}
}
}