mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 09:49:54 +03:00
system commands withing command (api/mqtt/console), alternative to #2182
This commit is contained in:
@@ -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_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user