From fd5448c178736338461648dd798b572c76d0364b Mon Sep 17 00:00:00 2001 From: kalkih Date: Wed, 13 Feb 2019 20:25:14 +0100 Subject: [PATCH] Updated version info --- README.md | 14 +++++++------- changelog.md | 8 +++++++- package.json | 2 +- tracker.json | 4 ++-- 4 files changed, 17 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index fc8bc67..741e84e 100755 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ The card works with entities from within the **sensor** domain and displays the ```yaml resources: - - url: /local/mini-graph-card-bundle.js?v=0.2.3 + - url: /local/mini-graph-card-bundle.js?v=0.2.4 type: module ``` @@ -26,14 +26,14 @@ The card works with entities from within the **sensor** domain and displays the 2. Grab `mini-graph-card-bundle.js` ``` - $ wget https://github.com/kalkih/mini-graph-card/releases/download/v0.2.3/mini-graph-card-bundle.js + $ wget https://github.com/kalkih/mini-graph-card/releases/download/v0.2.4/mini-graph-card-bundle.js ``` 3. Add a reference to `mini-graph-card-bundle.js` inside your `ui-lovelace.yaml`. ```yaml resources: - - url: /local/mini-graph-card-bundle.js?v=0.2.3 + - url: /local/mini-graph-card-bundle.js?v=0.2.4 type: module ``` @@ -60,7 +60,7 @@ The card works with entities from within the **sensor** domain and displays the ```yaml resources: - - url: /local/mini-graph-card-bundle.js?v=0.2.3 + - url: /local/mini-graph-card-bundle.js?v=0.2.4 type: module ``` @@ -124,7 +124,7 @@ All options are optional. | name | true | `true` / `false` | Display name | icon | true | `true` / `false` | Display icon | state | true | `true` / `false` | Display current state -| graph | true | `true` / `false` | Display the graph +| graph | true | `true` / `false` / `fade` | Display the graph | fill | true | `true` / `false` | Display the graph fill | points | hover | `true` / `false` / `hover` | Display graph data points | legend | true | `true` / `false` | Display the graph legend (only shown when graph contains multiple entities) @@ -136,7 +136,7 @@ See [dynamic line color](#dynamic-line-color) for example usage. | Name | Type | Default | Description | |------|:----:|:-------:|:------------| -| value | number | **required** | The threshold at where the color should apply if state is above/below. +| value | number | **required** | The threshold at where the color should apply if state is above. | color | string | **required** | Color to apply to line graph, most formats supported (`hex`, `rgb`, `rgba` or just the name of the color etc.) ### Example usage @@ -238,7 +238,7 @@ Have the graph change line color dynamically. - sensor.sensor_temperature show: labels: true - line_color_threshold: + color_thresholds: - value: 20 color: "#f39c12" - value: 21 diff --git a/changelog.md b/changelog.md index dd6f671..6721614 100755 --- a/changelog.md +++ b/changelog.md @@ -1,9 +1,15 @@ +## v0.2.4 +- **New:** Parameter `fade` for `show` -> `fill` option, makes the fill fade out (#45) +- **Fixed:** History entries with `null` state breaking graph (#46) +- **Fixed:** compatibility issues with the custom swiper-card +- **Fixed:** Broken extrema + ## v0.2.3 - **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:** `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 from `1` to `0.5`. - **Fixed:** Updated lit-element to v2.0.1 - **Fixed:** Zero values show up as current value when hovered over (#41) diff --git a/package.json b/package.json index 5460a4c..ac3f83c 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mini-graph-card", - "version": "0.2.3", + "version": "0.2.4", "description": "A minimalistic and customizable graph card for Home Assistant Lovelace UI", "keywords": [ "home-assistant", diff --git a/tracker.json b/tracker.json index ec0680b..31529f2 100755 --- a/tracker.json +++ b/tracker.json @@ -1,8 +1,8 @@ { "mini-graph-card-bundle": { "updated_at": "2019-02-13", - "version": "0.2.3", - "remote_location": "https://github.com/kalkih/mini-graph-card/releases/download/v0.2.3/mini-graph-card-bundle.js", + "version": "0.2.4", + "remote_location": "https://github.com/kalkih/mini-graph-card/releases/download/v0.2.4/mini-graph-card-bundle.js", "visit_repo": "https://github.com/kalkih/mini-graph-card", "changelog": "https://github.com/kalkih/mini-graph-card/releases/latest" }