Closed derkork closed 3 months ago
This is an issue where Home Assistant overwrites the classes when the viewport is narrow. I have reported the issue to the card-mod developers, as it's not caused by HA-LCARS. https://github.com/thomasloven/lovelace-card-mod/issues/386
Workarounds are:
type: weather-forecast
entity: weather.home
forecast_type: daily
card_mod:
style: |
ha-card {
background: black !important;
text-transform: uppercase;
border-radius: 0px !important;
border-left: 35.5px solid var(--lcars-card-mid-left-color);
padding-left: 6px !important;
}
Thank you very much for investigating this and providing a workaround!
I have set up a weather widget stack liket this:
On the desktop this renders nicely to:
However in mobile mode the
middle
class seems to be ignored for the weather widget and I get this: