add IR code
This commit is contained in:
parent
44687da028
commit
68dac6a4d0
6 changed files with 254 additions and 104 deletions
|
|
@ -200,7 +200,9 @@ void pmfanspeedupdatedisplay(char* value){
|
|||
iseDisplay.updateAirPurifierState();
|
||||
}
|
||||
void pmswitchupdatedisplay(char* value){
|
||||
ESP_LOGI("PM switch", "getting PM switch state from MQTT: %d", pm_switch.getValue());
|
||||
iseDisplay.updateAirPurifierState();
|
||||
ESP_LOGI("PM switch", "toggling PM switch state from: %d to %d", pm_switch.getValue(), !pm_switch.getValue());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue