purifier-card icon indicating copy to clipboard operation
purifier-card copied to clipboard

Feature request: Option to hide AQI value over picture

Open gabrymed opened this issue 3 years ago • 10 comments

It is possible to add an option to hide the brown card with AQI value over picture? Inkedcard_LI

gabrymed avatar Dec 27 '21 17:12 gabrymed

I would also like this feature to further compact the card, e.g. to look like this:

image

Tockerz avatar Jan 07 '22 10:01 Tockerz

I would also like this feature to further compact the card, e.g. to look like this:

image

For this, i think you can try compact_view: true

gabrymed avatar Jan 07 '22 17:01 gabrymed

I would also like this feature to further compact the card, e.g. to look like this:

For this, i think you can try compact_view: true

Compact view only gets you to this view (e.g. AQI or the text box still in place):

image

Tockerz avatar Jan 07 '22 22:01 Tockerz

I would also like to hide AQI as well. Compact Mode doesn't hide it.

MarkRMonaco avatar Feb 02 '22 17:02 MarkRMonaco

I'm using a little bit trick is that using lovelace card mod and add code as below which not have to modify file and receive update as normally.

card_mod:
  style: |
    ha-card > div.preview > div.controls > div >div { 
      visibility: hidden
    }

caohuongls avatar Apr 27 '22 14:04 caohuongls

I'm using a little bit trick is that using lovelace card mod and add code as below which not have to modify file and receive update as normally.

card_mod:
  style: |
    ha-card > div.preview > div.controls > div >div { 
      visibility: hidden

Thanks for the advice

gabrymed avatar Apr 28 '22 08:04 gabrymed

I'm using a little bit trick is that using lovelace card mod and add code as below which not have to modify file and receive update as normally.

card_mod:
  style: |
    ha-card > div.preview > div.controls > div >div { 
      visibility: hidden

Doesn't seem to have worked for me.

Tockerz avatar Apr 29 '22 02:04 Tockerz

I'm using a little bit trick is that using lovelace card mod and add code as below which not have to modify file and receive update as normally.

card_mod:
  style: |
    ha-card > div.preview > div.controls > div >div { 
      visibility: hidden

Doesn't seem to have worked for me. Here is how I add them. Sorry for missing "}". I have edit it. Or you can try to find css of this card fot more detail. image

caohuongls avatar Apr 30 '22 12:04 caohuongls

Thanks for that. I realise now that it only works if compact mode is set to false. What I am really trying to do is remove that panel altogether as with my edited pic on Jan 7th.

Tockerz avatar May 01 '22 00:05 Tockerz

Thanks for that. I realise now that it only works if compact mode is set to false. What I am really trying to do is remove that panel altogether as with my edited pic on Jan 7th.

Have you found a solution to hide it?

xbavnu avatar May 06 '22 19:05 xbavnu

You can use https://github.com/thomasloven/lovelace-card-mod with the above CSS, confirmed it works.

Shagon94 avatar Nov 26 '22 09:11 Shagon94

Thanks for that. I realise now that it only works if compact mode is set to false. What I am really trying to do is remove that panel altogether as with my edited pic on Jan 7th.

With card-mod you can hide every part of data. First you must conifgure card-mod (https://github.com/thomasloven/lovelace-card-mod). I hide PM2,5 and slider with this code:

card_mod: style: | ha-card > div.preview > div.controls > div > div { visibility: hidden} ha-card > div.preview > div.controls > div.slider > round-slider { visibility: hidden}

Zrzut ekranu_20221203_182327

karolx91 avatar Dec 03 '22 17:12 karolx91

With card-mod you can hide every part of data. First you must conifgure card-mod (https://github.com/thomasloven/lovelace-card-mod). I hide PM2,5 and slider with this code:

As with my previous post, this works fine in normal mode, but not in compact mode which is what I am trying to run. WIth compact mode set to true, the card-mod hiding does not work - the AQI remains.

Tockerz avatar Dec 04 '22 04:12 Tockerz

With card-mod you can hide every part of data. First you must conifgure card-mod (https://github.com/thomasloven/lovelace-card-mod). I hide PM2,5 and slider with this code:

As with my previous post, this works fine in normal mode, but not in compact mode which is what I am trying to run. WIth compact mode set to true, the card-mod hiding does not work - the AQI remains.

In compact mode also works.

ha-card > div.preview > div.controls > div.current-aqi { visibility: hidden}

Zrzut ekranu_20221204_130810

karolx91 avatar Dec 04 '22 12:12 karolx91

Yes that works to hide AQI for me (thanks!!) but does not remove the dead space unfortunately. Don't suppose that is something card_mod can handle?

image

Tockerz avatar Dec 05 '22 00:12 Tockerz

card_mod: style: | ha-card > div.preview > div.controls > div > div { visibility: hidden}

I use it like this to minimize the gap

card_mod:
  style: |
    ha-card > div.preview > div.controls {
    visibility: hidden; height: 0px}

hflocki avatar Jan 15 '23 11:01 hflocki

I use it like this to minimize the gap

card_mod:
  style: |
    ha-card > div.preview > div.controls {
    visibility: hidden; height: 0px}

This is the solution for me - thanks so much!

Tockerz avatar Jan 15 '23 23:01 Tockerz

There hasn't been any activity on this issue recently. This issue has now been marked as stale and will be closed if no further activity occurs. Please, update to the latest version and check if that solves the issue. Thank you for your contributions!

github-actions[bot] avatar Jun 16 '23 21:06 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

github-actions[bot] avatar Jul 16 '23 22:07 github-actions[bot]