Skip to content

Commit

Permalink
Add modelA
Browse files Browse the repository at this point in the history
  • Loading branch information
Limb committed Jun 17, 2023
1 parent c317316 commit 348e097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ir_Gree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void IRGreeAC::off(void) { setPower(false); }
void IRGreeAC::setPower(const bool on) {
_.Power = on;
// May not be needed. See #814
_.ModelA = (on && _model == gree_ac_remote_model_t::YAW1F);
_.ModelA = (on && (_model == gree_ac_remote_model_t::YAW1F || _model == gree_ac_remote_model_t::YX1F8F));
}

/// Get the value of the current power setting.
Expand Down

0 comments on commit 348e097

Please sign in to comment.