Skip to content

Commit

Permalink
Update version info
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkih committed Feb 8, 2019
1 parent ac932dc commit 18abe57
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
- url: /local/mini-graph-card-bundle.js?v=0.2.2
type: module
```
Expand All @@ -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.1/mini-graph-card-bundle.js
$ wget https://github.com/kalkih/mini-graph-card/releases/download/v0.2.2/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.1
- url: /local/mini-graph-card-bundle.js?v=0.2.2
type: module
```

Expand All @@ -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.1
- url: /local/mini-graph-card-bundle.js?v=0.2.2
type: module
```

Expand Down Expand Up @@ -127,7 +127,7 @@ All options are optional.
| points | hover | `true` / `false` / `hover` | Display graph data points
| legend | true | `true` / `false` | Display the graph legend (only shown when graph contains multiple entities)
| extrema | false | `true` / `false` | Display max/min information
| labels | false | `true` / `false` | Display Y-axis labels
| labels | hover | `true` / `false` / `hover` | Display Y-axis labels

#### Line color object
See [adaptive line color](#adaptive-line-color) for example usage.
Expand Down
17 changes: 16 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## v0.2.2
- **New:** Label design (#35)
- **New:** Entity name now visible in title when graph point is hovered over (#39)
- **New:** `hover` parameter for labels
- **New:** Now rendering missing history as a horizontal line up to the first available history entry (similar to the default history-graph)
- **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:** Significantly improved accuracy of graph point values
- **Fixed:** Only fetch history for updated entities, use cache to update rest
- **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
- **Fixed:** Invisible lines when graph was updated after not covering the full width on load
- **Fixed:** Align timestamps right when `align_state` is set to `right`

## v0.2.1
- **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)
Expand All @@ -7,7 +23,6 @@
- **Fixed:** Extrema not rendering (#32)
- **Fixed:** Times on points going backwards (#30)


## v0.2.0
- **UI redesign**
- **Added:** support for multiple entities (**BETA**) #28
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mini-graph-card",
"version": "0.2.1",
"version": "0.2.2",
"description": "A minimalistic and customizable graph card for Home Assistant Lovelace UI",
"keywords": [
"home-assistant",
Expand Down
6 changes: 3 additions & 3 deletions tracker.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"mini-graph-card-bundle": {
"updated_at": "2018-02-03",
"version": "0.2.1",
"remote_location": "https://github.com/kalkih/mini-graph-card/releases/download/v0.2.1/mini-graph-card-bundle.js",
"updated_at": "2019-02-07",
"version": "0.2.2",
"remote_location": "https://github.com/kalkih/mini-graph-card/releases/download/v0.2.2/mini-graph-card-bundle.js",
"visit_repo": "https://github.com/kalkih/mini-graph-card",
"changelog": "https://github.com/kalkih/mini-graph-card/releases/latest"
}
Expand Down

0 comments on commit 18abe57

Please sign in to comment.