Merge pull request #136 from ikilledmypc/electrolux-gree

Add support for ElectroluxYAL in factory as well
This commit is contained in:
Toni 2022-04-04 13:41:31 +03:00 committed by GitHub
commit bbbd61621a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,8 @@ HeatpumpIR* HeatpumpIRFactory::create(const char *modelName) {
return new DaikinHeatpumpARC480A14IR();
} else if (strcmp_P(modelName, PSTR("daikin")) == 0) {
return new DaikinHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("electroluxyal")) == 0) {
return new ElectroluxYALHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("fuego")) == 0) {
return new FuegoHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("fujitsu_awyz")) == 0) {

View File

@ -7,6 +7,7 @@
#include <DaikinHeatpumpIR.h>
#include <DaikinHeatpumpARC417IR.h>
#include <DaikinHeatpumpARC480A14IR.h>
#include <ElectroluxHeatpumpIR.h>
#include <FuegoHeatpumpIR.h>
#include <FujitsuHeatpumpIR.h>
#include <GreeHeatpumpIR.h>