Skip to content

Commit

Permalink
Docs: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danimart1991 committed Apr 10, 2024
1 parent 5ccaab4 commit 1f42e8a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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` |
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions dist/pvpc-hourly-pricing-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
Binary file modified docs/images/card-editor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/card-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/card-options.png
Binary file not shown.

0 comments on commit 1f42e8a

Please sign in to comment.