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.