Skip to content

Commit

Permalink
chore(release): 1.1.0 [skip ci]
Browse files Browse the repository at this point in the history
## [1.1.0](v1.0.2...v1.1.0) (2021-01-26)

### ⚠ BREAKING CHANGES

* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **color:** Define your own `color` option for each `serie` ([#7](#7)) ([3a15db2](3a15db2)), closes [#4](#4)
* **header:** More header options and title support ([#8](#8)) ([2cbd769](2cbd769)), closes [#5](#5)
* Add `update_interval` config option ([357db9a](357db9a)), closes [#2](#2)

### Bug Fixes

* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* Name and units displayed ([fe5526b](fe5526b))

### Documentation

* Add examples and fix documentation ([c71b76a](c71b76a))
* Fix typos and broken links ([7789b8f](7789b8f))

### Chores

* **changelog:** Add doc and chores sections ([58d7f5f](58d7f5f))
* **release:** 1.1.0-dev.1 [skip ci] ([e15f7b9](e15f7b9)), closes [#2](#2)
* **release:** 1.1.0-dev.2 [skip ci] ([f01afd7](f01afd7)), closes [#4](#4) [#5](#5)
  • Loading branch information
semantic-release-bot committed Jan 26, 2021
1 parent f01afd7 commit de9c6fa
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 9 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
## [1.1.0](https://github.com/RomRider/apexcharts-card/compare/v1.0.2...v1.1.0) (2021-01-26)


### ⚠ BREAKING CHANGES

* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](https://github.com/RomRider/apexcharts-card/commit/e7ed40892e8e041ffdb62a6efc9fc2050b715b73))
* **color:** Define your own `color` option for each `serie` ([#7](https://github.com/RomRider/apexcharts-card/issues/7)) ([3a15db2](https://github.com/RomRider/apexcharts-card/commit/3a15db2b79eb0377b244387e8895eb871e2e35d2)), closes [#4](https://github.com/RomRider/apexcharts-card/issues/4)
* **header:** More header options and title support ([#8](https://github.com/RomRider/apexcharts-card/issues/8)) ([2cbd769](https://github.com/RomRider/apexcharts-card/commit/2cbd769f9229b5c49d32a1aa42b0cc5ccaff914d)), closes [#5](https://github.com/RomRider/apexcharts-card/issues/5)
* Add `update_interval` config option ([357db9a](https://github.com/RomRider/apexcharts-card/commit/357db9a60cf7e1e41fca742f481222f293490ae4)), closes [#2](https://github.com/RomRider/apexcharts-card/issues/2)


### Bug Fixes

* **tooltip:** Values where following the selected point ([0145ca2](https://github.com/RomRider/apexcharts-card/commit/0145ca2c455cf263bf6ab7a983300c8fb4ea6fb9))
* Error was not displayed if duration couldn't be parsed ([2e2212f](https://github.com/RomRider/apexcharts-card/commit/2e2212f54d57cda08fc91c7c767d4e032e680db5))
* Name and units displayed ([fe5526b](https://github.com/RomRider/apexcharts-card/commit/fe5526b976e394d50c066588faaebd423b8ec966))


### Documentation

* Add examples and fix documentation ([c71b76a](https://github.com/RomRider/apexcharts-card/commit/c71b76ae5e9352cbab8b247a3908dbfded1ba7e6))
* Fix typos and broken links ([7789b8f](https://github.com/RomRider/apexcharts-card/commit/7789b8fd76b9c4f0139577090dfd8b4a0e88ce47))


### Chores

* **changelog:** Add doc and chores sections ([58d7f5f](https://github.com/RomRider/apexcharts-card/commit/58d7f5f37842525a7b61d017feef2cadafdf56bd))
* **release:** 1.1.0-dev.1 [skip ci] ([e15f7b9](https://github.com/RomRider/apexcharts-card/commit/e15f7b94a6ca366354ee516a95123d9e8ef3db62)), closes [#2](https://github.com/RomRider/apexcharts-card/issues/2)
* **release:** 1.1.0-dev.2 [skip ci] ([f01afd7](https://github.com/RomRider/apexcharts-card/commit/f01afd77a0e1dde79869f23225c44b49027a8a37)), closes [#4](https://github.com/RomRider/apexcharts-card/issues/4) [#5](https://github.com/RomRider/apexcharts-card/issues/5)

## [1.1.0-dev.2](https://github.com/RomRider/apexcharts-card/compare/v1.1.0-dev.1...v1.1.0-dev.2) (2021-01-26)


Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ This card is available in [HACS](https://hacs.xyz/) (Home Assistant Community St
2. Grab `apexcharts-card.js`:

```
$ wget https://github.com/RomRider/apexcharts-card/releases/download/v1.0.2/apexcharts-card.js
$ wget https://github.com/RomRider/apexcharts-card/releases/download/v1.1.0/apexcharts-card.js
```

3. Add the resource reference as decribed below.
Expand All @@ -65,7 +65,7 @@ If you configure Lovelace via YAML, add a reference to `apexcharts-card.js` insi

```yaml
resources:
- url: /local/apexcharts-card.js?v=1.0.2
- url: /local/apexcharts-card.js?v=1.1.0
type: module
```
Expand All @@ -91,8 +91,8 @@ The card stricly validates all the options available (but not for the `apex_conf
| ---- | :--: | :-----: | :---: | ----------- |
| :white_check_mark: `type` | string | | v1.0.0 | `custom:apexcharts-card` |
| :white_check_mark: `series` | array | | v1.0.0 | See [series](#series-options) |
| `update_interval` | string | | NEXT_VERSION | By default the card updates on every state change. Setting this overrides the behaviour. Valid values are any time string, eg: `1h`, `12min`, `1d`, `1h25`, `10sec`, ... |
| `graph_span` | string | `24h` | NEXT_VERSION | The span of the graph as a time interval. Valid values are any time string, eg: `1h`, `12min`, `1d`, `1h25`, `10sec`, ... |
| `update_interval` | string | | v1.1.0 | By default the card updates on every state change. Setting this overrides the behaviour. Valid values are any time string, eg: `1h`, `12min`, `1d`, `1h25`, `10sec`, ... |
| `graph_span` | string | `24h` | v1.1.0 | The span of the graph as a time interval. Valid values are any time string, eg: `1h`, `12min`, `1d`, `1h25`, `10sec`, ... |
| `show` | object | | v1.0.0 | See [show](#show-options) |
| `cache` | boolean | `true` | v1.0.0 | Use in-browser data caching to reduce the load on Home Assistant's server |
| `stacked` | boolean | `false` | v1.0.0 | Enable if you want the data to be stacked on the graph |
Expand All @@ -108,7 +108,7 @@ The card stricly validates all the options available (but not for the `apex_conf
| ---- | :--: | :-----: | :---: | ----------- |
| :white_check_mark: `entity` | string | | v1.0.0 | The `entity_id` of the sensor to display |
| `name` | string | | v1.0.0 | Override the name of the entity |
| `color` | string | | NEXT_VERSION | Color of the serie. Supported formats: `yellow`, `#aabbcc`, `rgb(128, 128, 128)` or `var(--css-color-variable)` |
| `color` | string | | v1.1.0 | Color of the serie. Supported formats: `yellow`, `#aabbcc`, `rgb(128, 128, 128)` or `var(--css-color-variable)` |
| `type` | string | `line` | v1.0.0 | `line`, `area` or `column` are supported for now |
| `curve` | string | `smooth` | v1.0.0 | `smooth` (nice curve), `straight` (direct line between points) or `stepline` (flat line until next point then straight up or down) |
| `extend_to_end` | boolean | `true` | v1.0.0 | If the last data is older than the end time displayed on the graph, setting to true will extend the value until the end of the timeline. Only works for `line` and `area` types. |
Expand All @@ -128,8 +128,8 @@ The card stricly validates all the options available (but not for the `apex_conf
| ---- | :--: | :-----: | :---: | ----------- |
| `show` | boolean | `false` | v1.0.0 | Show or hide the header |
| `floating` | boolean | `false` | v1.0.0 | Makes the header float above the graph. Positionning will be supported later |
| `show_states` | boolean | `false` | NEXT_VERSION | Show or hide the states in the header |
| `colorize_states` | boolean | `false` | NEXT_VERSION | Colorize the states based on the color of the serie |
| `show_states` | boolean | `false` | v1.1.0 | Show or hide the states in the header |
| `colorize_states` | boolean | `false` | v1.1.0 | Colorize the states based on the color of the serie |

### `group_by` Options

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apexcharts-card",
"version": "1.1.0-dev.2",
"version": "1.1.0",
"description": "A Home Assistant Lovelace card using ApexCharts to render graphs",
"main": "src/apexcharts-card.ts",
"scripts": {
Expand Down

0 comments on commit de9c6fa

Please sign in to comment.