Comments (9)
yep, just found out the same thing:
- type: custom:vertical-stack-in-card
cards:
- type: picture
image: /local/images/nmbs.png
hold_action:
action: url
url_path: https://www.belgiantrain.be/nl
- type: entities
style: |
ha-card {
--ha-card-background: rgb(0,100,182);
color: rgb(217,242,251);
}
title: Nmbs reizen
show_header_toggle: false
entities:
- sensor.essen_brussel_noord
- sensor.brussel_noord_essen
- sensor.nmbs_live
- sensor.nmbs_live_2
- sensor.nmbs_live_3
- sensor.nmbs_live_4
above style config does style the color: but the --ha-card-background won't work. For the sake of experiment I also tried background: and background-color:, and I've also tried a color name ('green') or hex value.
the above config worked up to 0.1.3, the latest updates after that made this happen. It certainly works for the individual entities card when used standalone, so I know the config to be correct.
please have a look for a fix why the vertical-stack-in-card frustrates this?
using the config in a vertical-stack works fine also:
- type: vertical-stack
cards:
- type: picture
image: /local/images/nmbs.png
hold_action:
action: url
url_path: https://www.belgiantrain.be/nl
- type: entities
style: |
ha-card {
--ha-card-background: rgb(0,100,182);
color: rgb(217,242,251);
}
title: Nmbs reizen
show_header_toggle: false
entities:
- sensor.essen_brussel_noord
- sensor.brussel_noord_essen
- sensor.nmbs_live
- sensor.nmbs_live_2
- sensor.nmbs_live_3
- sensor.nmbs_live_4
thanks
from vertical-stack-in-card.
I'm having this issue too, will there be a fix for this? thank you!
from vertical-stack-in-card.
Same issue for me...
from vertical-stack-in-card.
Users are reporting the same issue when placing xiaomi-vacuum-card in this card... ref. this issue.
from vertical-stack-in-card.
any chance to fix that issue?
from vertical-stack-in-card.
I've checked and it works ok in v0.1.3. Issue appered in v0.2.0
from vertical-stack-in-card.
just to note. i was able to workaround my issues usung card-mod repeting the styles which disappear after loading the card.
[...]
style: |
ha-card {
background-image: url('/local/images/xiaomi_vacuum_2.png')!important;
background-size: cover!important;
background-repeat: no-repeat!important;
background-position: center center!important;
}
type: 'custom:xiaomi-vacuum-card'
from vertical-stack-in-card.
There is a feature for that in my new card which can replace vertical-stack-in-card
I've created a new card which is almost a drop-in replacement for vertical-stack-in-card and a bunch of other features:
https://community.home-assistant.io/t/stack-in-card-drop-in-replacement-for-vertical-stack-in-card/180072
from vertical-stack-in-card.
Fixed in version 0.3.0, thanks!
from vertical-stack-in-card.
Related Issues (20)
- Cannot upgrade von v0.4.2 to v0.4.4
- Upgrade to 0.4.4, seems not to be loaded HOT 3
- Card border shown when conditional card is used HOT 12
- Alignment and formatting problems. HOT 2
- Nested card now show borders HOT 1
- Title FontSize
- Card "Not loaded in lovelace" but works anyways ? HOT 2
- Background shoudn't be inherrited in cards HOT 1
- e is undefined HOT 1
- Cannot read properties HOT 2
- Card sometimes gets visually messed up HOT 2
- Vertical stack with mushroom select card HOT 1
- Sometimes card border shown, sometimes it doesn't HOT 19
- Custom element doesn't exist: vertical-stack-in-card. HOT 4
- This._configElement.setConfig missing HOT 2
- Vertical Stack in card is down HOT 1
- Shadow card appearance HOT 1
- Something changed? HOT 4
- set stacks width HOT 1
- Integration with sections HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vertical-stack-in-card.