What's Changed
⚠️ MAJOR CHANGE
- Allow any positive integer for label_spacing and num_segments by @gonzalezjj in #476
In version 5.x, the DOM structure of the weather bar and its labels was changed to allow for odd-numbered segment counts and label spacing. Labels now appear centered with the segment they are representing, and the first label shown on the bar represents the first segment of data where in prior versions labels would begin at the second segment.
Rest assured, your card is still showing the same amount of time and starts/ends at the same time. The labels have just moved.
This change may cause some custom CSS to break. If you have custom CSS, you may need to adjust it to account for the new structure.
New Contributors
- @gonzalezjj made their first contribution in #476
Full Changelog: 4.14.0...5.0.0