From 7df7bb408227b7a26a6a9774095278ff87060a07 Mon Sep 17 00:00:00 2001 From: kalkih Date: Sat, 10 Nov 2018 19:14:23 +0100 Subject: [PATCH] Bumped version --- README.md | 36 +++++++++++++++++------------------- changelog.md | 5 +++++ tracker.json | 4 ++-- 3 files changed, 24 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 2326459..4e62cee 100755 --- a/README.md +++ b/README.md @@ -3,9 +3,7 @@ A minimalistic sensor with graph lovelace card for [Home Assistant](https://gith The card works with entities from within the **sensor** domain and displays the sensors current state as well as a line graph of the sensor state during the past 24 hours (accuracy may vary). -| Example dark | Example light | -|:----:|:----:| -| Preview 1 | Preview 2 | +![Preview](https://user-images.githubusercontent.com/457678/48304689-d975fa00-e51d-11e8-9cd6-620a17e3d244.png) ## Install @@ -16,7 +14,7 @@ The card works with entities from within the **sensor** domain and displays the ```yaml resources: - - url: /local/mini-graph-card.js?v=0.0.6 + - url: /local/mini-graph-card.js?v=0.0.7 type: module ``` @@ -32,7 +30,7 @@ git clone https://github.com/kalkih/mini-graph-card.git ```yaml resources: - - url: /local/mini-graph-card/mini-graph-card.js?v=0.0.6 + - url: /local/mini-graph-card/mini-graph-card.js?v=0.0.7 type: module ``` @@ -55,7 +53,7 @@ custom_updater: ```yaml resources: - - url: /local/mini-graph-card.js?v=0.0.6 + - url: /local/mini-graph-card.js?v=0.0.7 type: module ``` @@ -63,7 +61,7 @@ If you went the `git clone` route, just run `git pull` from inside your `config/ ```yaml resources: - - url: /local/mini-graph-card/mini-graph-card.js?v=0.0.6 + - url: /local/mini-graph-card/mini-graph-card.js?v=0.0.7 type: module ``` @@ -74,22 +72,22 @@ resources: | Name | Type | Default | Since | Description | |------|:----:|:-------:|:-----:|-------------| | type | string | **required** | v0.0.1 | `custom:mini-graph-card`. -| entity | string | **required** | v0.0.1 | An entity_id from an entity within the `sensor` domain. -| icon | string | optional | v0.0.1 | set a custom icon from any of the available mdi icons. -| name | string | optional | v0.0.1 | Set a custom `friendly_name` which is displayed beside the icon. +| entity | string | **required** | v0.0.1 | Entity id of the sensor. +| icon | string | optional | v0.0.1 | Set a custom icon from any of the available mdi icons. +| name | string | optional | v0.0.1 | Set a custom name which is displayed beside the icon. | unit | string | optional | v0.0.1 | Set a custom unit of measurement. -| accuracy | number | 10 | v0.0.1 | Specify how many data points should be used to render the graph, higher number equals higher detailed graph. Results can vary depending on how often your sensor updates. *(Recommended to keep between 5 & 25).* -| hours_to_show | number | 24 | v0.0.2 | Specify how many hours to show. +| accuracy | number | 10 | v0.0.1 | Specify how many data points should be used to render the graph, higher number equals in a more detailed graph. Results may vary depending on how often the sensor updates. *(Recommended to keep between 5 & 50).* | height | number | 150 | v0.0.1 | Set a custom height of the line graph. -| hide_icon | boolean | optional | v0.0.5 | Set to `true` to hide icon. -| font_size | number | 100 | v0.0.3 | Adjust the font size of the state value, as percentage of the original size. +| line_width | number | 5 | v0.0.1 | Set the thickness of the line. | line_color | string | 'var(accent-color)' | v0.0.1 | Set a custom color for the line in the graph. -| line_width | number | 5 | v0.0.1 | Set a custom width of the line. -| more_info | boolean | true | v0.0.1 | Set to `false` to disable the "more info" dialog when clicking on the card. -| line_value_above | number | optional | v0.0.4 | Set a threshold where if current state is above this value, the line color will change to what's specified in `line_value_above`. +| more_info | boolean | true | v0.0.1 | Set to `false` to disable the "more info" dialog when pressing the card. +| hours_to_show | number | 24 | v0.0.2 | Specify how many hours to show. +| font_size | number | 100 | v0.0.3 | Adjust the font size of the state value, as percentage of the original size. +| line_value_above | number | optional | v0.0.4 | Set a threshold, if current state is above this value, the line color will change to color specified in `line_value_above`. | line_color_above | string | optional | v0.0.4 | Set the line color for `line_value_above` -| line_value_below | number | optional | v0.0.4 | See `line_value_above`. -| line_color_below | string | optional | v0.0.4 | See `line_color_above`. +| line_value_below | number | optional | v0.0.4 | Set a threshold, if current state is below this value, the line color will change to color specified in `line_value_below`. +| line_color_below | string | optional | v0.0.4 | Set the line color for `line_value_below`. +| hide_icon | boolean | optional | v0.0.5 | Set to `true` to hide icon. ### Example usage diff --git a/changelog.md b/changelog.md index 861c70c..95feb6f 100755 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,8 @@ +## v0.0.7 +- 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 - Improved handling of unknown/unavailable history entries #8 - Fixed issue where `` error would appear in some scenarios diff --git a/tracker.json b/tracker.json index a9bddff..20ded3e 100755 --- a/tracker.json +++ b/tracker.json @@ -1,7 +1,7 @@ { "mini-graph-card": { - "updated_at": "2018-10-12", - "version": "0.0.6", + "updated_at": "2018-11-10", + "version": "0.0.7", "remote_location": "https://raw.githubusercontent.com/kalkih/mini-graph-card/master/mini-graph-card.js", "visit_repo": "https://github.com/kalkih/mini-graph-card", "changelog": "https://github.com/kalkih/mini-graph-card/releases/latest"