From fd94159489a5e736c06c8d296976e9add894c16d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Kihlstr=C3=B6m?= Date: Sat, 5 Oct 2019 15:37:32 +0200 Subject: [PATCH] :bookmark: Update docs & version --- README.md | 14 +++++++++----- changelog.md | 22 ++++++++++++++++++++++ package.json | 2 +- 3 files changed, 32 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9155952..d868ba2 100755 --- a/README.md +++ b/README.md @@ -7,7 +7,11 @@ The card works with entities from within the **sensor** domain and displays the ## Install -### Simple install +### HACS + +This card is available in [HACS](https://github.com/custom-components/hacs/issues) (Home Assistant Community Store). + +### Manual install 1. Download and copy `mini-graph-card-bundle.js` from the [latest release](https://github.com/kalkih/mini-graph-card/releases/latest) into your `config/www` directory. @@ -15,7 +19,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.6.0 + - url: /local/mini-graph-card-bundle.js?v=0.7.0 type: module ``` @@ -26,14 +30,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.6.0/mini-graph-card-bundle.js + $ wget https://github.com/kalkih/mini-graph-card/releases/download/v0.7.0/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.6.0 + - url: /local/mini-graph-card-bundle.js?v=0.7.0 type: module ``` @@ -48,7 +52,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.6.0 + - url: /local/mini-graph-card-bundle.js?v=0.7.0 type: module ``` diff --git a/changelog.md b/changelog.md index 9e5152c..b4b6a71 100755 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,25 @@ +## v0.7.0 + +### BREAKING CHANGE +Dropped support for **custom_updater**, if you relied on **custom_updater**, consider switching to [**HACS**](https://github.com/custom-components/hacs). + +### ADDED +- Custom tap/click action option `tap_action` (#94) +- More default colors (#149) - (@SNoof85) +- Default icons for more device classes (`pressure`, `power` & `signal_strength`) (#155) +- Option `url` to available tap actions (#160) (#164) + +### CHANGED +- Color threshold gradient is now also applied to graph fill (vertically) (#112) (#152) +- Current state unit of measurement no longer wraps to the next line and is instead truncated with ellipsis if space is limited + +### FIXED +- Not rendering extrema/average info container if not used, eliminates unwanted extra padding +- Invalid legend entry color when color thresholds (#151) +- Invalid graph fill color when color thresholds (#146) +- Preserve aspect ratio of legend indicators (#142) +- README layout and formatting (#162) - (@danstis) + ## v0.6.0 ### ADDED diff --git a/package.json b/package.json index 21e0895..940352a 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mini-graph-card", - "version": "0.6.0", + "version": "0.7.0", "description": "A minimalistic and customizable graph card for Home Assistant Lovelace UI", "keywords": [ "home-assistant",