-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial Stable Release including Documentation
- Loading branch information
1 parent
7d1d016
commit 09df2aa
Showing
5 changed files
with
445 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "all", | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"tabWidth": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,45 @@ | ||
# pvpc-hourly-pricing-card | ||
Home Assistant Lovelace custom card to use with Spain electricity hourly pricing (PVPC) integration | ||
# PVPC Hourly Pricing Card | ||
|
||
Home Assistant Lovelace custom card to use with [Spain electricity hourly pricing (PVPC) integration](https://www.home-assistant.io/integrations/pvpc_hourly_pricing/). | ||
|
||
![Card Example](docs/images/card-example.jpg) | ||
|
||
> This card only works with a [previously configured Spain electricity hourly pricing (PVPC) integration](https://www.danielmartingonzalez.com/pvpc-tariff-prices-in-home-assistant/) in Home Assistant. | ||
Based on [Lovelace Weather Card with Chart](https://github.com/sgttrs/lovelace-weather-card-chart) by [Yevgeniy Prokopenko](https://github.com/sgttrs). | ||
|
||
## Features | ||
|
||
- Compatible with all rates. | ||
- Actual price close-up. | ||
- Graph with the prices of the current day. | ||
- Graph with the prices of the next day when you are available. | ||
- Minimum and maximum of the current and next day. | ||
- Icon indicating the current pricing period. | ||
|
||
## Installation | ||
|
||
Follow this [guide](https://www.danielmartingonzalez.com/installing-lovelace-plugins). | ||
|
||
```yaml | ||
resources: | ||
url: /local/pvpc-hourly-pricing-card.js?v=0.0.1 | ||
type: module | ||
``` | ||
## Options | ||
| Name | Type | Default | Description | | ||
|---|---|---|---| | ||
| type | string | **Required** | `custom:pvpc-hourly-pricing-card` | | ||
| entity_id | string | **Required** | Spain electricity hourly pricing (PVPC) entity | | ||
| title | string | Optional | Title of the card | | ||
|
||
## Example | ||
|
||
```yaml | ||
cards: | ||
- type: custom:pvpc-hourly-pricing-card | ||
title: "PVPC 2.0 DHA" | ||
entity_id: sensor.pvpc_2_0_dha | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.