---
title: "Spain electricity hourly pricing (PVPC)"
description: "Spain electricity hourly pricing (PVPC) is a built-in integration for Home Assistant. It has 1.4k installs sharing analytics and needs the vendor's cloud."
canonical: "https://vulpo.app/integrations/core/pvpc-hourly-pricing"
url: "https://vulpo.app/integrations/core/pvpc-hourly-pricing.md"
last-updated: "2026-10-23"
version: "1.4"
---

# Spain electricity hourly pricing (PVPC)

> Spain electricity hourly pricing (PVPC) is a built-in integration for Home Assistant. It has 1.4k installs sharing analytics and needs the vendor's cloud.

Spain electricity hourly pricing (PVPC) is a built-in Home Assistant integration that provides electricity price sensors. It relies on the vendor's cloud for its data, so an internet connection is needed. Setup is done in the UI, where a sensor name, contracted power in kW, and contracted power for the valley period P3 can be entered. The applicable tariff is chosen by geographic zone. An optional ESIOS personal API token can be enabled for private access, and it can be re-authenticated or disabled later. The contracted power values and the token option can also be changed afterwards in the options.

Automatic summary of Home Assistant's source code. Something wrong? [Get in touch](https://vulpo.app/contact)

[Open in My Home Assistant](https://my.home-assistant.io/redirect/config_flow_start/?domain=pvpc_hourly_pricing)

## Supports

- **Uses the vendor's cloud**: Needs an internet connection and an account with the vendor.
- **Set up in the UI**: Add it in Settings, Devices and services. Nothing to download.
- **Updated with Home Assistant**: Ships and updates with every Home Assistant release.

## Setting it up

It is added under Settings, Devices and services, with Add integration.

### Connect

- **Sensor Name**
- **Contracted power (kW)**
- **Contracted power for valley period P3 (kW)**
- **Applicable tariff by geographic zone**
- **Enable ESIOS Personal API token for private access**

### ESIOS API token

- **API token**

### Sign in again

- **API token**
- **Re-authenticate with a valid token or disable it**
- **Enable ESIOS Personal API token for private access**

### After setup

- **API token**
- **Contracted power (kW)**
- **Contracted power for valley period P3 (kW)**
- **Enable ESIOS Personal API token for private access**

Texts from Home Assistant's source code, [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).

## At a glance

- Kind: Built-in integration
- Category: [Energy](https://vulpo.app/integrations/category/energy.md), Energy prices
- Number: 1.4k installs sharing analytics
- Connection: Needs the vendor's cloud
- Upkeep: Part of Home Assistant
- Needs: Built into Home Assistant
- Domain: `pvpc_hourly_pricing`
- Source: <https://www.home-assistant.io/integrations/pvpc_hourly_pricing/>

In Vulpo: Chart card, Apple Watch

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation. [About these numbers](https://vulpo.app/integrations/about)

Last updated 2026-10-23. Source: https://vulpo.app/integrations/core/pvpc-hourly-pricing

---

- HTML version of this page: https://vulpo.app/integrations/core/pvpc-hourly-pricing
- Site index for agents: https://vulpo.app/llms.txt
- Everything in one document: https://vulpo.app/llms-full.txt
- All pages: https://vulpo.app/sitemap.xml
