Fix an Issue with IR Remote Climate and Whirlpool protocol toggle (#5447)

Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Avri Chen-Roth
2023-09-29 04:17:32 +03:00
committed by Jesse Hills
parent ec4777b8d0
commit e9bda2810f
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -47,6 +47,8 @@ class WhirlpoolClimate : public climate_ir::ClimateIR {
void transmit_state() override;
/// Handle received IR Buffer
bool on_receive(remote_base::RemoteReceiveData data) override;
/// Set the time of the last transmission.
int32_t last_transmit_time_{};
bool send_swing_cmd_{false};
Model model_;