Skip to content

Commit

Permalink
🔖 Update docs & version
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkih committed Jan 29, 2020
1 parent 5285ed6 commit fc30112
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This card is available in [HACS](https://github.com/custom-components/hacs/issue

```yaml
resources:
- url: /local/mini-graph-card-bundle.js?v=0.8.2
- url: /local/mini-graph-card-bundle.js?v=0.9.0
type: module
```
Expand All @@ -30,14 +30,14 @@ This card is available in [HACS](https://github.com/custom-components/hacs/issue
2. Grab `mini-graph-card-bundle.js`:

```
$ wget https://github.com/kalkih/mini-graph-card/releases/download/v0.8.2/mini-graph-card-bundle.js
$ wget https://github.com/kalkih/mini-graph-card/releases/download/v0.9.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.8.2
- url: /local/mini-graph-card-bundle.js?v=0.9.0
type: module
```

Expand All @@ -52,7 +52,7 @@ This card is available in [HACS](https://github.com/custom-components/hacs/issue

```yaml
resources:
- url: /local/mini-graph-card-bundle.js?v=0.8.2
- url: /local/mini-graph-card-bundle.js?v=0.9.0
type: module
```

Expand Down Expand Up @@ -81,7 +81,7 @@ This card is available in [HACS](https://github.com/custom-components/hacs/issue
| show | list | | v0.2.0 | List of UI elements to display/hide, for available items see [available show options](#available-show-options).
| animate | boolean | `false` | v0.2.0 | Add a reveal animation to the graph.
| height | number | `150` | v0.0.1 | Set a custom height of the line graph.
| bar_spacing | number | `4` | tbd | Set the spacing between bars in bar graph.
| bar_spacing | number | `4` | v0.9.0 | Set the spacing between bars in bar graph.
| line_width | number | `5` | v0.0.1 | Set the thickness of the line.
| line_color | string/list | `var(--accent-color)` | v0.0.1 | Set a custom color for the graph line, provide a list of colors for multiple graph entries.
| color_thresholds | list | | v0.2.3 | Set thresholds for dynamic graph colors, see [Line color object](#line-color-object).
Expand Down
25 changes: 25 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
## v0.9.0

### ADDED
- New aggregate functions first & last #229 (#241)
- New bar spacing option #221 (#242)
- Added log of card version to the browser console
- Option to enable/disable caching (#212)
- Option to override default more-info entity (#202)
- Added missing option parameter `url` to tap action docs

### FIXED
- Graph date not calculated correctly around midnight in certain configurations (#253)
- Improved handling of out of bound history entries (#251)
- Initial graph entry not always correct (#251)
- Graph missing latest history entry after entity update (#250)
- Changes to min, max, avg not updating properly #248 (#249)
- Prevent tooltip from triggering multiple times on legend hover
- Fixed broken babel build (developers)
- Graphs not updating in time resulting in inconsistent x/y axis relation #194 #200 (#214)
- Graphs not updating in sync resulting in inconsistent x/y axis relation #194 #200 (#214)
- Missing and invalid/malformed graph data caused by caching #193 (#213)
- Fixed invalid rendering of bars when hiding certain entities
- Fill not showing when line is hidden & animate option is enabled


## v0.9.0-beta

### ADDED
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.9.0-beta",
"version": "0.9.0",
"description": "A minimalistic and customizable graph card for Home Assistant Lovelace UI",
"keywords": [
"home-assistant",
Expand Down
2 changes: 1 addition & 1 deletion src/initialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ localForage.iterate((data, key) => {
});

console.info(
'%c MINI-GRAPH-CARD %c 0.9.0-beta ',
'%c MINI-GRAPH-CARD %c 0.9.0 ',
'color: white; background: coral; font-weight: 700;',
'color: coral; background: white; font-weight: 700;',
);

0 comments on commit fc30112

Please sign in to comment.