fix timeout remote

This commit is contained in:
MichaelDvP
2024-06-22 12:32:02 +02:00
parent bed7793dab
commit 5ffd4d87fb
2 changed files with 1 additions and 2 deletions

View File

@@ -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) {