I like having the Sun Card but in my quest to pack my dashboard with more useful information I find it to be way too BIG. The snapshot shows it next to the Weather Card which arguably provides more relevant information in a smaller card. I would not mind a smaller card for that too though.
Maybe in the meantime there is some way to reduce the font size using card_mod:
… has anyone tried?
EDIT: I found how to edit the size of the text… WTH still stands though.
A bit more compact view for custom:sun-card :
type: custom:sun-card
showAzimuth: false
showElevation: false
timeFormat: 24h
card_mod:
style: |
.sun-card-header span {
font-size: var(--mdc-typography-body1-font-size) !important;
padding-bottom: 0px !important;
}
.sun-card-footer span {
font-size: var(--mdc-typography-body1-font-size) !important;
padding-bottom: 0px !important;
}
.sun-card-footer-row {
padding-top: 0px !important;
}
Left - w…
Isn’t this a custom card and therefore outside of the control of the HA devs?
1 Like
@ZuluWhiskey - You are right…
It gets added by default with HACS so I did not realize it wasn’t part of HA. I guess I will close this WTH… except I don’t see a way to do so.
petro
(Petro)
October 20, 2022, 4:37pm
5
You can just flag the post with ‘something else’