Skip to content

Commit

Permalink
Updated version info
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkih committed Feb 13, 2019
1 parent f5b191e commit fd5448c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
14 changes: 7 additions & 7 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.3
- url: /local/mini-graph-card-bundle.js?v=0.2.4
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.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
```

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.3
- url: /local/mini-graph-card-bundle.js?v=0.2.4
type: module
```

Expand Down Expand Up @@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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)
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.3",
"version": "0.2.4",
"description": "A minimalistic and customizable graph card for Home Assistant Lovelace UI",
"keywords": [
"home-assistant",
Expand Down
4 changes: 2 additions & 2 deletions tracker.json
Original file line number Diff line number Diff line change
@@ -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"
}
Expand Down

0 comments on commit fd5448c

Please sign in to comment.