mac-zhou / midea-ac-py

Home Assistant Custom Integration for Midea Group(Hualing, Senville, Klimaire, AirCon, Century, Pridiom, Thermocore, Comfee, Toshiba, Carrier, Goodman, Friedrich, Samsung, Kenmore, Trane, Lennox, LG and much more) Air Conditioners via LAN.
MIT License
519 stars 101 forks source link

Remove or disable available HVAC modes #159

Open rubin110 opened 2 years ago

rubin110 commented 2 years ago

Describe the solution you'd like (描述需求) I have a Midea U shaped window AC. When I add this device to HA through your integration I get a lot of different modes:

hvac_modes:
  - auto
  - cool
  - dry
  - heat
  - fan_only
  - 'off'

The AC doesn't have a heat mode. Also I only use cool, fan, and off. Having all 6 modes clutters up the lovelace card:

image

It would be nice if modes can be disabled/hidden/removed. Thank you.

mill1000 commented 2 years ago

I've got a PR out that resolves this if you want to try it. PR #165, also depends on another PR mac-zhou/midea-msmart#80