diff --git a/README.md b/README.md index 4d0950a..2dfc1ca 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ Based on [Lovelace Weather Card with Chart](https://github.com/sgttrs/lovelace-w - Actual price close-up. - Graph with the prices of the current day. - Graph with the prices of the next day when you are available. +- Graph with the injection prices. - Lowest and Highest of the current and next day. - Icon indicating the current pricing period. @@ -31,14 +32,12 @@ You could use [HACS](https://hacs.xyz/) or follow this [guide](https://www.danie ```yaml resources: - url: /local/pvpc-hourly-pricing-card.js?v=1.14.1 + url: /local/pvpc-hourly-pricing-card.js?v=1.15.0 type: module ``` ## Options -![Card Options](https://raw.githubusercontent.com/danimart1991/pvpc-hourly-pricing-card/master/docs/images/card-options.png) - | Name | Type | Default | Requirement | Description | | ------------------- | ------- | ------- | ------------ | ------------------------------------------------------------------------- | | type | string | `null` | **Required** | `custom:pvpc-hourly-pricing-card` | @@ -49,6 +48,7 @@ resources: | show_details | boolean | `true` | Optional | Show the lowest and highest prices and hours for the current and next day | | show_graph | boolean | `true` | Optional | Show the graph with the prices for the current and next day | | show_info | boolean | `true` | Optional | Show info like '_Tomorrow's data is no yet available_' | +| show_only_today | boolean | `false` | Optional | Show only today's data | | graph_baseline_zero | boolean | `false` | Optional | Show graph with desired minimum line base zero. | ## Example diff --git a/dist/pvpc-hourly-pricing-card.js b/dist/pvpc-hourly-pricing-card.js index 3c2dc81..7a121bf 100644 --- a/dist/pvpc-hourly-pricing-card.js +++ b/dist/pvpc-hourly-pricing-card.js @@ -959,6 +959,7 @@ export class PVPCHourlyPricingCardEditor extends LitElement { show_details: true, show_graph: true, show_info: true, + show_only_today: false, graph_baseline_zero: false, ...this._config, }; diff --git a/docs/images/card-editor.png b/docs/images/card-editor.png index 7b3667c..f795afd 100644 Binary files a/docs/images/card-editor.png and b/docs/images/card-editor.png differ diff --git a/docs/images/card-example.png b/docs/images/card-example.png index d52222e..28565d3 100644 Binary files a/docs/images/card-example.png and b/docs/images/card-example.png differ diff --git a/docs/images/card-options.png b/docs/images/card-options.png deleted file mode 100644 index 7a20f7b..0000000 Binary files a/docs/images/card-options.png and /dev/null differ