Skip to content

Releases: kalkih/mini-graph-card

v0.2.2-beta

06 Feb 20:38
Compare
Choose a tag to compare
v0.2.2-beta Pre-release
Pre-release
  • New: Label design (#35)
  • New: Entity name now visible in title when graph point is hovered over (#39)
  • New: hover parameter for labels
  • 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: 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

v0.2.1: Fixes & multiple states

03 Feb 01:16
Compare
Choose a tag to compare
  • Added: New hour24 option to choose time format between 12-hour/24-hour clock

  • Added: Support for showing multiple sensor states, see new show_state option for the entity object (#33)

  • Added: Ability to press/click on entities in the graph legend to bring up their "more info" dialog (#31)

  • Fixed: Responsive design of the graph legend

  • Fixed: NaN values in extrema (#34)

  • Fixed: Extrema not rendering (#32)

  • Fixed: Times on points going backwards (#30)

v0.2.0: Redesign, multiple entities, animations & more

30 Jan 21:36
Compare
Choose a tag to compare
  • UI redesign
  • Added: support for multiple entities (BETA) #28
  • Added: support for multiple line_color entries
  • Added: graph data points with information on hover, see points option under the show option
  • Added: animate option to have the graph animated on initial load
  • Added: points_per_hour option to specify amount of data points that should be rendered for each hour (basically the graph detail/accuracy).
  • Added: support for multiple color thresholds with new line_color_above & line_color_below options
  • Added: allocated space for the graph -> less jerky movements when loading in
  • Added: graph legend, visible if multiple entities is present
  • Added: align_header, align_icon & align_state options #27
  • Added: show option, to manage visible/hidden UI elements
  • Added: entities option
  • Added: group option to remove paddings/box-shadow #26 (@iantrich)
  • Fixed: bug were history data would be fetched when graph was hidden
  • Fixed: decimals option not being applied to labels #19
  • Fixed: Y-scale based on absolute extrema causing inconsistent results, now based on moving average same as the rest of the graph.
  • Deprecated: entity option, use new entities, accepts string or list (deprecated)
  • Removed: detail option, use new points_per_hour option (Breaking change)
  • Removed: hide options, use new show option (Breaking change)
  • Removed: labels option, use labels in new show option (Breaking change)
  • Removed: line_value_above, line_color_above, line_value_below & line_color_below options (Breaking change)

v0.1.0

22 Dec 18:36
Compare
Choose a tag to compare
  • Added hide option to hide specific UI elements
  • Removed hide_icon, use new hide option (Breaking change)
  • Minor UI changes
  • Fixed issue causing errors if all available history entries had the exact same state
  • Updated dependencies

v0.0.9

16 Dec 03:03
Compare
Choose a tag to compare
  • Added decimals option to display specified amount of decimals for the current state #18
  • Fixed issue where line_value_above and line_value_below would not work when set to 0 #13

v0.0.8

19 Nov 01:34
Compare
Choose a tag to compare

Please go through the installation instructions again when updating to this version

  • Major rework of the graph calculation, now taking moving average and timestamps into account
  • Added bundle version
  • Added detail option, to specify the detail level of the graph
  • Added labels option to display min/max labels
  • Removed accuracy option in favor for detail
  • Changed the reported size of the card

v0.0.7

10 Nov 18:25
Compare
Choose a tag to compare
  • Improved responsive design
  • Fixed overflow issue when stacking several cards in horizontal-stack #11
  • Fixed default font-size when not specified in config

v0.0.6

12 Oct 12:33
Compare
Choose a tag to compare
  • Improved handling of unknown/unavailable history entries #8
  • Fixed issue where <path> error would appear in some scenarios
  • Refactored code responsible for building the line graph #9

v0.0.5

10 Oct 13:44
Compare
Choose a tag to compare
  • Added hide_icon option #5
  • Fixed issue where unknown/unavailable history would make the graph not render #6
  • Fixed issue where graph line would rendering outside svg boundary and get clipped
  • Made graph line ends rounded
  • Adjusted line Y-scale
  • Updated to lit-element 0.6.2

v0.0.4

06 Oct 22:31
Compare
Choose a tag to compare
  • Added options to have the line change color if the state is above/below specified values
  • Fixed graph when setting accuracy option to a higher value than the available data points in history