Feature request: Option to hide AQI value over picture
gabrymed opened this issue · 19 comments
I would also like to hide AQI as well. Compact Mode doesn't hide it.
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
}
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
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.
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.
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.
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?
You can use https://github.com/thomasloven/lovelace-card-mod with the above CSS, confirmed it works.
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}
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.
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}
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}
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!
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!
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.