system commands withing command (api/mqtt/console), alternative to #2182

This commit is contained in:
MichaelDvP
2024-11-28 15:40:42 +01:00
parent 0850737208
commit 30fca2a190
7 changed files with 155 additions and 78 deletions

View File

@@ -33,6 +33,14 @@ class Shower {
// commands
static bool command_coldshot(const char * value, const int8_t id);
void shower_timer(bool enable) {
shower_timer_ = enable;
}
void shower_alert(bool enable) {
shower_alert_ = enable;
}
private:
static uuid::log::Logger logger_;