alexnx
1
Is there any way to configure the font size of cards? Really hope the font size can become larger, but I did not find where to set the font size.
It seems large enough here, but when displayed on a large screen and look from a certain distance, it is too small to see.
And, the text ‘Date’, ‘Time’, and corresponding icons are unnecessary, any way to hide them? Really appreciate!
sensor:
- platform: time_date
display_options:
- 'time'
- 'date'
cards:
- type: horizontal-stack
cards:
- type: entity
entity: sensor.date
- type: entity
entity: sensor.time
I use the digital clock card - now that I’m on Win11 it’s my go-to place to show seconds as well
How did you get this card type? it seems to be a custom defined element.
stevemann
(Stephen Mann (YAML-challenged))
5
2 Likes
forgot to check HACS for a plugin, thanks!
It’s actually the one that @stevemann was linking to - it allows me to show the date as well as the time
stevemann
(Stephen Mann (YAML-challenged))
9
How? I don’t see the option in the git page.
But, I do like your suggestion better than mine because it shows seconds.
aceindy
(Aceindy)
10
- type: custom:digital-clock
dateFormat: dd LLL yyyy
timeFormat: HH:mm:ss
ROFL… just realized i pasted the wrong link😁
So i sm using the same
Formatting is based on Luxon (whatever that might be)
Anyway, the request was about font size, which digital-clock doesn’t offer.
The Simple Clock link does though, but it doesn’t have the date…
But with CSS apparantly it is possible with the digital clock too
Happens to the best of us sometimes
I have the digital-clock HACS addon. Is there a way to hide the date or time? I want this in seperate places…