Merge pull request #161 from mlesniew/master

Update HeatpumpIRFactory to support greeyac and greeyt
This commit is contained in:
Toni 2023-11-08 13:26:32 +02:00 committed by GitHub
commit f0f93c67ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ HeatpumpIR* HeatpumpIRFactory::create(const char *modelName) {
return new GreeYAAHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("greeyan")) == 0) {
return new GreeYANHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("greeyac")) == 0) {
return new GreeYACHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("greeyt")) == 0) {
return new GreeYTHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("hisense_aud")) == 0) {
return new HisenseHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("hitachi")) == 0) {