clock-weather-card
clock-weather-card copied to clipboard
Current day section very large, lots of wasted space, forecast icons too small to distinguish in some cases
Is your feature request related to a problem? Please describe. The card is very large, and there is a lot of wasted space around the current weather and time/date that could be eliminated to make it smaller (shorter height). Also, the weather forecast icons tend to be quite small and difficult to distinguish in some cases. The sun hiding behind the cloud for example is not easily seen at a glance.
Describe the solution you'd like Allow easy resizing of top section per item (current weather, time, date, and weather icon). Allow resizing of day forecast rows - mostly resizing the icon (or row height) which will resize the rest to fit.
Describe alternatives you've considered Can't think of any.
Additional context Add any other context or screenshots about the feature request here.

seems something in a recent HA update made it do that, it was much smaller not long ago.
Im interested on this aswell. Great card but at the moment takes too much space, its really difficult to fit rest of the cards in my dashboard.
@AlfonsoHassio I found a couple tweaks using card_mod that make the card smaller and after months of using it, I have never seen anything be cut off:
without card_mod:
with card_mod:
type: custom:clock-weather-card
card_mod:
style: |
.card-content {
padding-top: 0px;
margin-top: -10px;
}
entity: weather.openweathermap
sun_entity: sun.sun
weather_icon_type: line
animated_icon: true
forecast_days: 5
locale: en
time_format: 24
date_pattern: PPP
hide_today_section: false
hide_forecast_section: false
The part that matters is:
card_mod:
style: |
.card-content {
padding-top: 0px;
margin-top: -10px;
}
...as it removes the padding and it pulls the margin up by 10 pixels. With how my card is currently configured, I have never seen these tweaks cause trouble but can't say it will be the same for all variations. It doesn't eliminate a lot but it made a noticeable difference on my dashboard.