Releases: kalkih/mini-graph-card
Releases · kalkih/mini-graph-card
v0.4.2
v0.4.1
v0.4.0 ⚡️
This version brings many improvements to how sensor history is fetched and handled, this should result in much quicker loading of the graph.
These improvements should also reduce stress on the HA backend, since the card now cache history data locally in the browser and only request data it's missing.
Thanks @bramkragten for the contributions!
ADDED
- Local caching of history data (#88) - (@bramkragten)
- New
update_interval
option, set a custom update interval of history data, instead of on every state change (#88) - (@bramkragten)
CHANGED
- Now only fetching new history since last update, instead of all history every time (#88) - (@bramkragten)
FIXED
- Jitter when hovering over points in particular configs (#87)
v0.3.3
v0.3.2
v0.3.1: More customization & fixes
- New: Options
name_adaptive_color
,icon_adaptive_color
inshow
option object to display the name/icon in the entity color (#67, #50) - New: Option
state_adaptive_color
in entity object, to display the state in the entity color (#67) - New: Option
show_indicator
in entity object, to display a color indicator next to the state (#72) - New: Option
font_size_header
added (#53) - New Added date (day/weekday) to timestamps when timeframe > 24 (#61)
- New It's now possible to set
hours_to_show
to float values and values lower than one. - Changed Legend color indicators are now ciruclar instead of rectangular
- Fixed: Bar chart now shows correct amount of bars
- Fixed: Points should no longer be cut off when at the very bottom of the graph
- Fixed: Timestamps for bars
- Fixed: Missing paddings between card elements when group option was set to
true
- Fixed: Unwanted overflow when border radius applied
- Fixed: Improved compatibility (#64)
v0.3.0: Bar charts
- New: Support for bar charts (#49)
- New: Parameter
bar
added toshow
->graph
, display graph as a bar chart (#49) - New: Option
unit
added to entity object, overridesunit
set in base - Change:
graph
option now defaults toline
(#49) - Change: Font size of additional displayed state to the same as the main state (when a single additional state is displayed).
- Fixed: Color thresholds not being applied correctly with several cards in the same view (#52, #54)
- Fixed:
height
option can now be set to zero - Fixed: Timestamps are now properly center aligned if state is center aligned
v0.2.4: Quick fixes
- New: Parameter
fade
forshow
->fill
option, makes the fill fade out - Fixed: History entries with
null
state breaking graph (#46) - Fixed: Compatibility issues with the custom swiper-card
- Fixed: Broken extrema
v0.2.3: Manually set bounds, Improved color thresholds & more
- New: Option
color_thresholds
(#45) - New: Color thresholds now changes dynamically with the history (#45)
- New: Options
lower_bound
&upper_bound
added (#40) - New: Option
color
to entity object, overrides other color options - Change:
entities
option now always requires a list, changed in order to be compatible with "Unused entities" UI (#44) (BREAKING CHANGE)` - Change: Default value for
points_per_hour
changed from1
to0.5
. - Fixed: Updated lit-element to v2.0.1
- Fixed: Zero values show up as current value when hovered over (#41)
- Fixed: Added additional checks for empty history
- Removed:
entity
option, which was previously deprecated since v0.2.0, useentities
option (#44) (BREAKING CHANGE). - Removed:
line_color_above
andline_color_below
, see newcolor_thresholds
option (#45) (BREAKING CHANGE)
v0.2.2: New labels & more improvements
- New: Label design (#35)
- New: Entity name now visible in title when graph point is hovered over (#39)
- New:
hover
parameter for labels - New: Now rendering missing history as a horizontal line up to the first available history entry (similar to the default history-graph)
- Change: Made labels visible on hover by default
- Change: Label font size now has a min size and scales relative to the
font_size
option - Fixed: Significantly improved accuracy of graph point values
- Fixed: Only fetch history for updated entities, use cache to update rest
- Fixed: Graph points not applying threshold color from
line_color_above
/line_color_below
(#38) - Fixed: Invalid timestamps when combining
points_per_hour
&hours_to_show
(#37, #36) - Fixed: Misaligned legend text
- Fixed: Missing bottom padding when graph is hidden
- Fixed: Invisible lines when graph was updated after not covering the full width on load
- Fixed: Align timestamps right when
align_state
is set toright