fix coldshot command with dhw tag, restart coldshot timer

This commit is contained in:
MichaelDvP
2024-04-21 10:39:17 +02:00
parent 8c7b0a674f
commit 0eb04b9027
6 changed files with 14 additions and 10 deletions

View File

@@ -49,6 +49,7 @@ class Shower {
bool shower_alert_; // true if we want the alert of cold water
uint32_t shower_alert_trigger_; // default 7 minutes, before trigger a shot of cold water
uint32_t shower_alert_coldshot_; // default 10 seconds for cold water before turning back hot water
uint32_t next_alert_;
bool ha_configdone_ = false; // for HA MQTT Discovery
bool shower_state_;
uint32_t timer_start_; // ms