add back force, fix for non-HA

This commit is contained in:
proddy
2025-12-19 08:54:59 +01:00
parent 778fe43012
commit 179351cb6b
2 changed files with 9 additions and 5 deletions

View File

@@ -78,7 +78,7 @@ class WebSchedulerService : public StatefulService<WebScheduler> {
void begin();
void loop();
void publish_single(const char * name, const bool state);
void publish();
void publish(const bool force = false);
bool command_setvalue(const char * value, const int8_t id, const char * name);
bool get_value_info(JsonObject output, const char * cmd);
void get_value_json(JsonObject output, const ScheduleItem & scheduleItem);