Climate doesn't update the swing mode (Solved)

I modified the Broadlink IR Climate Component by Vassilis. I tried to modify the code so that swing mode can be added, and also the code can be generated from the combination of options that I set in the frontend. The code works good, and the correct IR can be sent from broadlink, but my Swing Mode State doesn’t get updated. Apparently the schedule_update_ha_state() doesn’t update the swing_mode state.

I have tried to debug it but don’t have directions on how to do so.

Solved, just found out that it’s a simple typo lol.

Hi,

Same problem here !.

Can you explain what’s typo issue you found and how to solve it?.

Regards.

Hi Hungyip,
Can you please share your modified “climate.py” and AC code file.
Thanks.