add scheduler api commands/info/value

This commit is contained in:
MichaelDvP
2023-03-06 16:26:52 +01:00
parent db1a335509
commit c9dbf282f6
4 changed files with 93 additions and 10 deletions

View File

@@ -58,6 +58,7 @@ class WebSchedulerService : public StatefulService<WebScheduler> {
void publish(const bool force = false);
bool has_commands();
bool command_setvalue(const char * value, const std::string name);
bool get_value_info(JsonObject & output, const char * cmd);
private:
bool command(const char * cmd, const char * data);