migrate IRRemote to RMT

This commit is contained in:
Siwat Sirichai 2023-12-30 15:39:16 +07:00
parent 5fd8bdf73c
commit d0e4825c2d
8 changed files with 77 additions and 17 deletions

View file

@ -129,4 +129,12 @@ bool ClimateIoT::processRequestStateMessage(char *topic, char *payload, uint8_t
return true;
}
return false;
}
void ClimateIoT::handleSensorUpdate(float temperature, float humidity) {
this->publishSensor();
}
void ClimateIoT::handleAirConditionerUpdate(uint8_t mode, uint8_t fan_speed, uint8_t temperature) {
this->publishClimate();
}