How to create user defined modes in thermostat

Hi,

I would like to know how to add user defined/custom modes to my thermostat component? I have Aqara AC Partner set up in Mi Home app for Panasonic AC. However there are several buttons and functions that were missing from the preset remote in Mi Home, for example my AC remote has nano-eg button, eco-navi, and eco-smart button. I also can set the swing level in 5 different levels. However, using Mi Home app and also thermostat/climate component in HA, I can only set the swing as on and off (off being it on the highest lever level). I can command the Aqara AC partner from inside HA using custom component from here https://github.com/syssi/xiaomi_airconditioningcompanion

My question is how do we add/edit/remove modes/functions/remote button to the thermostat card (I’m using Lovelace), for example adding several swing levels, adding eco-navi button/mode?

Sorry if this is a noob question, I’ve tried looking around the forum and still haven’t found what I’m looking for…