Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 01 Jun 04:30

1.0.0 (2023-06-01)

⚠ BREAKING CHANGES

  • extend_to_end has been removed and replaced by extend_to with support for now and end.
  • Replace hours_to_show with graph_span. Takes a time string instead of a number of hours.

Features

  • extend_to replaces extend_to_end with new options (4bb1dd2), closes #318
  • actions: header_actions support for actions in header (#171) (bd6a497), closes #61
  • Add update_interval config option (357db9a), closes #2
  • Add delta and median function (4a77e55)
  • Add spinner while data is loading (39d4b8e)
  • add state type to long term statistics (#329) (3fad4f0)
  • add stroke_width and experimental color_threshold/disable_config_validation (fcdfa88), closes #58
  • apex_config: Support for functions in apex_config (cebc03b), closes #81
  • Apply a time_delta to all the datapoints of your serie (435e381), closes #277
  • Better cache handling (#1) (804415f)
  • Bring back hours_12 from the dead (676bdb7)
  • brush: Support for a timeframe selection chart (#102) (c8dedf7)
  • cache: Invalidate cache on every new card version (#12) (b1799d9)
  • card: Support for pre-defined layouts (c5987f8)
  • color: Define your own color option for each serie (#7) (3a15db2), closes #4
  • config_tpl: Create a config template and use it everywhere with config_templates, apply the same config to every series with all_series_config and add color_list to define your color list in one shot (#64) (17004a3)
  • data_generator: Build your own data based on the last state and attributes of your entity (#14) (18284b5), closes #6
  • datalabels: Option to display total when chart is stacked (#75) (e1c5b01), closes #73
  • Define your own float precision for legend, tooltip and Y axis (7b0f30f)
  • display only the min or max extrema (3db982b), closes #319
  • display the chart's last update time using last_updated (2dd84ff)
  • Display warning if sensor doesn't exist (a69df3d)
  • editor: Preview in the GUI card selector (d4cd7a3)
  • experimental: hidden_by_default to toggle series on load (#62) (63717b7), closes #60
  • experimental: Header color can now follow color_threshold (#88) (074bfc3), closes #78
  • extremas: Display the time on top of your extremas (#97) (d127b37)
  • Floating header (1eccee8)
  • follow Home Assistant number format (9204de2), closes #307
  • graph: Extends graph's last value to the current time (bfe64c5)
  • graph: New chart types scatter, donut, pie and radialBar (#24) (a0e4f85)
  • group_by: Add more functions and fix buckets (c7324e0)
  • group_by: Add new diff function (57fd6a6)
  • group_by: With start_with_last, each bucket will start with the last data from the previous bucket (8669411)
  • header: More header options and title support (#8) (2cbd769), closes #5
  • header: Standard header title home-assistant format using standard_format (35c5391), closes #35
  • Initial support for aggregating data (13dfd89)
  • invert: Negates/Inverts the data for a serie (#13) (ab793c5)
  • locale: Inherit locale from Home-Assistant, deprecate hours_12 (#70) (af2d201), closes #68
  • make datagenerator async (#157) (b9049fc)
  • Native multi y-axis support with auto-scale (#160) (e08aa14), closes #158
  • now: Add a marker at the current time on the chart (9b6b83d), closes #44
  • pie/donut now shows the value of the serie instead of the percentage. Old behavior with datalabels: percent (7591aba)
  • Replace hours_to_show with graph_span. Takes a time string instead of a number of hours. (e7ed408)
  • series.offset: Compare data from another timeframe with the current timeframe (#19) (af8ba81), closes #18
  • series.show: Display the value before/after the current time in the header (2855403), closes #86
  • series.show: Display your serie's extremas on the chart (#85) (f64169a)
  • series.show: Hide the name of a serie in the header (b20133d), closes #111
  • series.show: Hide the offset from the name of the serie (a46c3f0), closes #112
  • series.show: Option to show the raw data in the header (#76) (87b56f5), closes #69
  • series.show: Show/hide dataLabels per serie (9e28db3)
  • series: transform the data the way you want (#45) (1cb6bb5)
  • series: Define the opacity of the line or area (8dfb3fd), closes #57
  • series: Display values as a duration (#21) (227f0ea)
  • series: Hide the value of a serie in the legend (#22) (1e8f748), closes #20
  • series: New fill_raw option to fill missing data in raw history (e2433b6)
  • series: Retrieve an attribute of your entity instead of the state (#32) (b76bf16), closes #29
  • series: Show/Hide a specific serie from the header or the graph (#36) (95c0433)
  • Show value in legend (869a7f8)
  • soft bounds and extended bounds for yaxis min/max (#161) (c57278b)
  • span: Add end as an option to end the graph at the end of the day, minute, etc... (#11) (1d0aca8)
  • span: Add support for isoWeek (7abc750), closes #106
  • span: Display the graph from the start of the hour, day, month,… with an offset or not (#10) (bb6e88c)
  • support actions on the title with title_actions (a9f406e), closes #323
  • Support for 12-hour format (#55) (f38a18e), closes #48 #53
  • Support for all ApexCharts options (03efa8d)
  • Support for auto-entities (060e4c0)
  • Support for HA long-term statistics (#208) (29aaa7c), closes #308
  • Support for header (c5a8ee2)
  • transform: Provide the full state as entity to the function (#77) (9919c10), closes #71
  • update from lit-html/lit-element to lit (5a7d944)
  • uses the time format defined in Home Assistant user profile (78df800), closes #213
  • yaxis: id and yaxis_id no longer needed with only 1 yaxis defined (e5e8904)
  • yaxis: Align the extremas to the closest align_to value. (a46c812), closes #170
  • yaxis: Set the number of decimals shown on the yaxis. Deprecate y_axis_precision. (33fc474), closes #164

Bug Fixes

  • bar should be column (ff188ee)
  • group_by was extending values into the future (2cb79d2)
  • group_by would sometimes not work with data_generator (cfa6871)
  • last_updated date format was not following the configuration (3dd4904)
  • update_interval was broken (31d2fb7)
  • 1st color was not using transparency (77a9c8d)
  • actually really fix the issue with HA 2023.4 beta and above (972f2c0), closes #529
  • always get all state changes, not only significant ones (3b2f9c8)
  • annotations with time were not following the time format configuration (5d08853)
  • another caching issue with statistics (b93ee75)
  • axis: X and Y Axis Tooltip color matches theme (fb717ef)
  • bug introduced by 591add (b9c9297)
  • build: Missing dependancy (7d7d637)
  • build: Remove comments from build (268ef77)
  • caching issue for statistics (8daff2f)
  • card broken with HA 2023.4.0bXX and above (e1aaf69), closes #527
  • Chart not displayed properly or at all with layout-card (e5840fb), closes #121
  • color with alpha would render area opaque (100b6d4)
  • color_threshold would sometimes render weirdly (d7063a5), closes #177
  • color_threshold: opacity for color_threshold (5a325f4)
  • color_threshold: Sometimes it would break the card (65b5419)
  • colorize_states: Parameter was not applied (28bb2e2)
  • config_templates: Was supposed to support a string (f36d9b1), closes #87
  • config: style was not a valid config option (card-mod/picture-element) (0a38778), closes #15
  • dataLabels would not follow float_precision (cf9b63a), closes #54
  • datalabels: Truncate floats to 1 digit after the decimal point (f5f744f)
  • Disable support for colors with alpha channel (#91) (522363a), closes #90
  • Display non inverted numbers in legend/tooltip/datalabels when invert: true (331fe04), closes #96
  • Error was not displayed if duration couldn't be parsed (2e2212f)
  • extra space at bottom because of the card's action-handler (533a784)
  • extremas was not working with invert: true (4d06ef6), closes #96
  • extremas would not display with offset applied on series (4d7d77a), closes #177
  • extremas: Multi y-axis support (#98) (5c7d742), closes #89
  • Float were not displayed in non-timeline charts (e67d2d7), closes #42
  • Floats were not truncated properly for radialBar (0c789ff), closes #174
  • Friendly name wouldn't display anymore (ef38724)
  • func: Filter null values in diff (cfe736c)
  • func: median was sometimes wrong (c36dda7)
  • Get rid of the initial load delay (69f151b)
  • graph might be wrong when using attributes if value was 0 (e200323)
  • Graph stopped updating following ddf6ca9 (bc54729)
  • graph: Loading message didn't appear (ce3c45c)
  • graph: Not displaying the latest state in graph (280e328)
  • group_by: group_by reporting erronerous values for the first bucket of data (8303b84), closes #110
  • group_by: When group_by was used with lines, the end of the chart was showing an empty slot (display bug only) (0163f9e)
  • header units for radialBar (6883a8f), closes #105
  • header: Hide unit when as_duration is used (5686931)
  • header: State was sometimes multi-line (4187104)
  • header: Unit would sometimes be on a new line (92fad1b)
  • hidden by default would not work without a name (9c75ce8), closes #280
  • history data could be modified in some rare cases (d38fd6e)
  • Home Assistant API deprecation warning (1449c7f), closes #417
  • Ignore recorder when not required (c28a7a6), closes #169
  • in_header: after/before_now not working with offsetted series (960b43c)
  • last caching issue with statistics (2e528f7)
  • Last computed history data shouldn't be null (ec875d5)
  • legend: Change - to : between name and state (4e3cdc6)
  • legend: undefined was displayed for a hidden serie (352c016)
  • median function fails if it receives an empty table (#316) (12f8d2e)
  • Name and units displayed (fe5526b)
  • Not releasing file (e1dc473)
  • Optimize extend_to_end when used with group_by (591add8)
  • series.offset: Fix bug introduced by #19 (f5c0d57), closes #18
  • Sometimes card would stay in warning mode (ddf6ca9)
  • Sometimes the graph was empty when changing tabs (9232044)
  • start_with_last: start_with_last would sometimes throw (f5aa2e3)
  • style: Better default styling of toolbar (4d0ef1c), closes #16
  • Support for rgba colors (7ecfafd)
  • Support for card-mod >= 3.0 (8348119), closes #104
  • Support for custom views config parameters (view_layout) (76a8023)
  • Support for fire-dom-event with browser-mod (3dc9625), closes #196
  • the hass object could sometimes be null (ff27baf), closes #191
  • Tooltip should not be in a fixed position (1762049)
  • tooltip: Use colors from the theme (5c263f1)
  • tooltip: Values where following the selected point (0145ca2)
  • truncate floats in total datalabels (917a20a), closes #73
  • Update apexcharts.js to the the latest version (dd0bf6f)
  • When recorder was skipped, attributes were ignored (15e5372)
  • Wrong labels in tooltip in some cases (8f0aca1)
  • xasis: Better handling of graph end time if everything is column and group_by is enabled (b5b85a6)
  • yaxis would always start at 0 (50ef9e4), closes #158
  • yaxis: apex_config.yaxis was not taken into account properly (ce04230)
  • yaxis: auto scale was not taking the serie's offset into account (f82f7e0), closes #172
  • yaxis: Fixed + unfixed bounds on the same yaxis is now working (f7e4668)

Documentation

  • align_to description update (4471469)
  • Add an example to change the line thickness (fd4a495)
  • Add examples and fix documentation (c71b76a)
  • Add more example (ffaa5df)
  • Better info about month and year as offset units (c194f87), closes #65
  • Card is now available in HACS by default (1200abd)
  • config_templates: Fix wrong config example (ea1fef4)
  • Fix ApexCharts link (9394dee)
  • Fix error data_generator example (6d1c7a0), closes #34
  • Fix HACS doc (not yet available by default) (53fece2)
  • fix some README glitches (3dd8b48)
  • Fix some typos (3df6aed)
  • Fix typo in doc (89ed3c5)
  • Fix typos and broken links (7789b8f)
  • Initial README release (7a87694)
  • Missing title documentation in the header section (ff7f35b)
  • Missing doc for last_updated (93ae54a)
  • Missing link to the now section (9747257)
  • Update README.md (b9d49ab)