mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix timeout remote
This commit is contained in:
@@ -34,7 +34,7 @@ uint32_t Roomctrl::timeout_ = 0;
|
||||
* set the temperature,
|
||||
*/
|
||||
void Roomctrl::set_timeout(uint8_t t) {
|
||||
timeout_ = t * 3600;
|
||||
timeout_ = t * 3600000; // ms
|
||||
}
|
||||
void Roomctrl::set_remotetemp(const uint8_t type, const uint8_t hc, const int16_t temp) {
|
||||
if (!type_[hc] && !type) {
|
||||
|
||||
Reference in New Issue
Block a user