Rynkowa cena energii elektrycznej (RCE)
This is an integration between Home Assistant and PSE RCE
The RCE sensor provides the current price with today's and tomorrow's prices as attributes. Prices for the next day become available around 3:00 p.m.
ApexCharts card is recommended for visualization of the data in Home Assistant.
Example configuration for the cards
type: custom:apexcharts-card
graph_span: 24h
span:
start: day
header:
show: true
title: Rynkowa Cena Energii Elektrycznej [zł/MWh]
colorize_states: true
now:
show: true
label: Teraz
color: var(--secondary-color)
yaxis:
- decimals: 0
apex_config:
tickAmount: 5
series:
- entity: sensor.rynkowa_cena_energii_elektrycznej
type: column
name: Cena Rynkowa Energii Elektrycznej
float_precision: 2
data_generator: |
return entity.attributes.today.map((start, index) => {
return [new Date(start["start"]).getTime(), entity.attributes.today[index]['tariff']];
});
Using HACS (recommended)
You can install the plugin via HACS using the following steps
- Open HACS
- Click Integrations
- Clik the three dots on the top right
- Click "Custom repositories"
- Add https://github.com/jacek2511/ha_rce/ and a category of your choice