github decompil3d/lovelace-hourly-weather 4.0.0

latest releases: 6.0.2, 6.0.1, v6.0.0...
23 months ago

What's Changed

In version 3.1.0, I tried to address some feedback around the num_hours configuration option by attempting to make the card more aware of the number of hours per forecast segment in the entity data. This was foolish. As was brought to my attention in #60, there are forecast entities that provide weather in sub-hourly segments as well. Making the code handle this as well was going to make things overly complex and bug-prone.

As such, I've decided to essentially revert the change in 3.1.0 and, instead, rename the configuration option to num_segments. This clarifies that you are choosing how may forecast segments to show -- whether those represent 1 hour, 3 hours, 15 minutes, or whatever.

This is a breaking change of sorts, since you may have your card setup to show 12 hours of data from an "every 3 hours" entity, for example. With this change, you'll now see 12 three-hour segments instead. I'm sorry. Luckily, it's easy to address. If you update the num_segments option in the UI card editor, it will automatically remove your num_hours configuration and replace it with a num_segments one instead.

Here's hoping this makes things easier for us all. Enjoy the card, and keep the feedback coming 😄

Full Changelog: 3.3.0...4.0.0

Don't miss a new lovelace-hourly-weather release

NewReleases is sending notifications on new releases.