Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unwanted text before hvac modes #415

Open
Friedi1970 opened this issue Feb 24, 2024 · 4 comments
Open

Unwanted text before hvac modes #415

Friedi1970 opened this issue Feb 24, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Friedi1970
Copy link

Friedi1970 commented Feb 24, 2024

Describe the bug
I use the simple-thermostat as a card in room-card. When I activate control, e.g. hvac, there is a text before the hvac modes: ui.card.climate.operation which I don't want to see (see screenshot).

To Reproduce
see the YAML

Expected behavior
I expect to have the hvac modes without the text before.

cards:
  - type: custom:simple-thermostat
    entity: climate.buro
    header:
      name: Heizung Büro
    layout:
      step: row
    control:
      - hvac
    hide_if:
      conditions:
        - condition: equals
          value: 'off'```

**Screenshots**
![Bild 24 02 24 um 10 40](https://github.com/nervetattoo/simple-thermostat/assets/47818803/a7ea7fe9-54da-47ff-872f-4226efc393d7)

**Browser**
 - OS: Mac
 - Browser: Chrome/Safari
 - Simple Thermostat version from browser console: v2.5.0
 - Home Assistant version: 2024.2.2
@Friedi1970 Friedi1970 added the bug Something isn't working label Feb 24, 2024
@Friedi1970
Copy link
Author

Bild 24 02 24 um 10 40

@motibass
Copy link

motibass commented Mar 8, 2024

Same here.

A quick fix to remove the label entirly

card_mod:
    style: |
      .mode-title {
        display:none;
      }

@ampersandru
Copy link

Same here.

A quick fix to remove the label entirly

card_mod:
    style: |
      .mode-title {
        display:none;
      }

thanks - where do I add this? I tried adding to the lovelace yaml via raw config editor and no change

@markusg1234
Copy link

Same here.
A quick fix to remove the label entirly

card_mod:
    style: |
      .mode-title {
        display:none;
      }

thanks - where do I add this? I tried adding to the lovelace yaml via raw config editor and no change

You can place it after the ha-card style.

card_mod:
  style: |
    ha-card {
      --st-font-size-xl: 24px;
      --st-font-size-m: 20x;
      --st-font-size-title: 20px;
      --st-spacing: 2px;
      --st-font-size-sensors: 13px;
    }
    .mode-title  {
       display:none; 
       }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants