diff --git a/README.md b/README.md index ecfdc1f..acd0bab 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ 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.9.0 + url: /local/pvpc-hourly-pricing-card.js?v=1.12.0 type: module ``` @@ -43,11 +43,12 @@ resources: | --- | --- | --- | --- | --- | | type | string | `null` | **Required** | `custom:pvpc-hourly-pricing-card` | | entity | string | `null` | **Required** | Spain electricity hourly pricing (PVPC) entity | -| name | string | `null` | Optional | Title of the card | -| current | boolean | `true` | Optional | Show the current price and pricing period | -| details | boolean | `true` | Optional | Show the lowest and highest prices and hours for the current and next day | -| graph | boolean | `true` | Optional | Show the graph with the prices for the current and next day | -| info | boolean | `true` | Optional | Show info like '*Tomorrow's data is no yet available*' | +| title | string | `null` | Optional | Title of the card | +| show_current | boolean | `true` | Optional | Show the current price and pricing period | +| 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*' | +| graph_baseline_zero | boolean | `false` | Optional | Show graph with desired minimum line base zero. | ## Example @@ -61,8 +62,8 @@ If this doesn't work, another option is to add it manually from your Lovelace Da ```yaml type: custom:pvpc-hourly-pricing-card -name: "PVPC 2.0 DT" -entity: sensor.pvpc_2_0_dt +title: "PVPC Prices" +entity: sensor.pvpc ``` ### Mode YAML @@ -74,7 +75,7 @@ Add this lines of code to your Lovelace Dashboard YAML file: cards: ... - type: custom:pvpc-hourly-pricing-card - name: "PVPC 2.0 DT" - entity: sensor.pvpc_2_0_dt + title: "PVPC Prices" + entity: sensor.pvpc ... ``` diff --git a/docs/images/card-editor.png b/docs/images/card-editor.png index 721341f..7b3667c 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 6af2534..d52222e 100644 Binary files a/docs/images/card-example.png and b/docs/images/card-example.png differ