Releases: krissen/pollenprognos-card
Fixes and enhancement (default sort change) -- for real this time
This is what v1.0.3 was supposed to be. :-)
Changed default sort, from name_ascending to value_descending. Thank you for the suggestion, Grukk!
To avoid changing your sort if you prefer it the way it was, in your lovelace config for the card, add sort: name_ascending.
Better handling of values, both NA ("-1") and (future proofing) values lower than -1 or higher than 6. Now tells you there is no information if there is, instead of fooling you into believing there would be none (0).
Fixes and enhancement (default sort change)
Changed default sort, from name_ascending
to value_descending
. Thank you for the suggestion, Grukk!
To avoid changing your sort if you prefer it the way it was, in your lovelace config for the card, add sort: name_ascending
.
Better handling of values, both NA ("-1") and (future proofing) values lower than -1 or higher than 6. Now tells you there is no information if there is, instead of fooling you into believing there would be none (0).
Added option: sort by value or name
New optional variable: sort
. Possible values (sort by): value_ascending
, value_descending
, name_ascending
(default), and name_descending
. If sorted by value, today's value is used.
Added pollen threshold and fixed a bug
Added new option pollen_threshold
to set threshold of allergen value for said allergen to be shown. Default: 1.
Rudimentary fix for days without value, if not available 0 will be returned.
First release
Full working release.