migrate IRRemote to RMT
This commit is contained in:
parent
5fd8bdf73c
commit
d0e4825c2d
8 changed files with 77 additions and 17 deletions
|
@ -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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue