Add support for ElectroluxYAL in factory as well

This commit is contained in:
tim 2022-04-04 10:21:28 +02:00
parent d78a819c05
commit 436908bf72
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>