Skip to content

Home Assistant Lovelace custom card to use with Spain electricity hourly pricing (PVPC) integration

License

Notifications You must be signed in to change notification settings

adamchengtkc/pvpc-hourly-pricing-card

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lovelace card to show Nordpool pricing

Modified from PVPC Hourly Pricing Card

Required a Nordpool entity from https://github.com/custom-components/nordpool/

PVPC Hourly Pricing Card

GitHub release (latest by date) GitHub last commit License hacs_badge

Tip Me via PayPal Sponsor Me via GitHub

Home Assistant Lovelace custom card to use with Spain electricity hourly pricing (PVPC) integration.

Card Example

This card only works with a previously configured Spain electricity hourly pricing (PVPC) integration in Home Assistant.

Based on Lovelace Weather Card with Chart by Yevgeniy Prokopenko and the fork Lovelace Animated Weather Card by Marc Hagen.

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.
  • Lowest and Highest of the current and next day.
  • Icon indicating the current pricing period.

Options

Card Options

Name Type Default Requirement Description
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'

Example

Mode Storage (Visual)

From your Lovelace Dashboard: Configure UI ➡ Add New Card ➡ PVPC Hourly Pricing Card. Configure the card:

Card Editor

If this doesn't work, another option is to add it manually from your Lovelace Dashboard: Configure UI ➡ Add New Card ➡ Manual Card and then this code:

type: custom:pvpc-hourly-pricing-card
name: "PVPC 2.0 DT"
entity: sensor.pvpc_2_0_dt

Mode YAML

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
  ...

About

Home Assistant Lovelace custom card to use with Spain electricity hourly pricing (PVPC) integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published