nervetattoo / simple-thermostat

A different take on the thermostat card for Home Assistant ♨️
MIT License
743 stars 112 forks source link

How do I hide presets? #285

Open Stooovie opened 2 years ago

Stooovie commented 2 years ago

I can't figure out a way to hide Presets and keep only Operation. How do I hide the None/Away/Eco/Boost line?

Snímek obrazovky 2021-11-05 165658

Thanks!

CRCinAU commented 2 years ago

Use:

control:
  - hvac
bimbam333 commented 2 years ago

Use:

for hide hvacs:

control:
  hvac:
    heat: off

For hide presets:

control:
  preset:
    none: false
    away: false
mclever commented 2 years ago

This is what I found to work for me. First you need to go to dev tools and get the names of the different modes your thermostat supports. Then, once I set the hvac names the presets went away.

  - type: custom:simple-thermostat
    entity: climate.upstairs
    layout:
      step: column
      mode:
        headings: false
    decimals: '0'
    step_size: '1'
    control:
      hvac:
        'off':
          name: 'Off'
        cool:
          name: A/C
        heat:
          name: Heat
Wickedy123 commented 1 year ago

To remove the controls altogether, you just need:

control: false