Closed squirtbrnr closed 3 years ago
I have the same problem. Can't force 24 hour clock. My config is below but I force 24 hours clock in user profile in the latest release 2021.6.0
unit_system: metric time_zone: Europe/London
use12hourClock: false <-does not work for me.
My bad, Github is showing the develop branch instead the main one, I need to fix that, in the current version you need to use timeFormat: '24h'
Works now, thanks!
No problem! next version will change it but it will include a visual editor so it will be easier to set up
thanks, that fixed the 24h format. However, my elevation and azimuth is still not showing up.
- type: 'custom:sun-card'
fields:
- azimuth: true
- elevation: true
timeFormat: '24h'
never mind. I see those options are different now on the readme. Probably like the timeFormat, these options are slightly different from the dev branch.
I tried configuring the card and it seems like only some of the configuration options are working. I wanted to use 24 hour time, and show the azimuth and elevation. However, only the title and language options have any affect on the card when I refresh/clear cache.
My config is:
The title shows up and changes, the language changes if I use another language. The times are still in 12 hour format and azimuth and elevation do not show. I even tried the following config and there was no change to the display:
There are no errors in the logs.