The customisation of this UI card is pretty extensive already, however, it seems only the heat
, cool
and off
HVAC modes are able to be hidden from the UI.
In my case, one of my thermostats supports the auto
HVAC mode, which I don't use and would like to hide from the UI so the mode cannot be enabled by accident. See below:
There are also the other HVAC modes heat_cool
, dry
and fan_only
which I assume show up on the card but are not able to be hidden (I cannot verify these as I don't have a thermostat that supports those modes). I did find the mapping between modes and icons in the code:
const modeIcons: {
[mode in any]: string
} = {
auto: mdiCalendarSync,
heat_cool: mdiAutorenew,
heat: mdiFire,
cool: mdiSnowflake,
off: mdiPower,
fan_only: mdiFan,
dry: mdiWaterPercent,
...
};
While digging through the code I noticed the following:
|
if(this._config?.disable_eco && mode === "cool") return html ``; |
|
if(this._config?.disable_cool && mode === "eco") return html ``; |
It seems cool
disables eco
and vice versa. Also, after looking on the HA Docs for Climates, it appears there is no eco
HVAC mode, is this perhaps meant to be auto
?
Thanks for the great card, and hope to hear from you soon.