#EGD Distribuce
This integration provides sensors informing about low/high energy tariff (HDO), specifically for Czech EGD Distribuce. Technically it downloads data from https://www.egd.cz/casy-platnosti-nizkeho-tarifu.
This sensor shows only the current state of HDO as a binary sensor.
Add the following to your configuration.yaml
file:
# HDO example for D57d tarif - you can create multiple binary sensors (A3B7P1 A3B7P2 A3B7P6)
# Split `A3B7P01` into A3 -> 3, B7 -> 7, P01 -> 01
binary_sensor:
- platform: egddistribuce
name: egdTAR
psc: 60200
code_a: "3"
code_b: "7"
code_dp: "01"
price_vt: "2.11469"
price_nt: "0.24611"
- platform: egddistribuce
name: egdPV
psc: 60200
code_a: "3"
code_b: "7"
code_dp: "02"
price_vt: "2.11469"
price_nt: "0.24611"
- platform: egddistribuce
name: egdTUV
psc: 60200
code_a: "3"
code_b: "7"
code_dp: "06"
price_vt: "2.11469"
price_nt: "0.24611"
# HDO example for smart meter with code `d57`
binary_sensor:
- platform: egddistribuce
name: hdo
psc: "smart"
code_a: "d57"
price_vt: "2.11469"
price_nt: "0.24611"
# current HDO price
template:
- sensor:
- name: "cena_distribuce_eg_d"
unit_of_measurement: "Kč/kWh"
state_class: measurement
state: "{{ state_attr('binary_sensor.hdo', 'current_price')}}"
price_vt
and price_nt
are prices of VT/NT according to your tariff, per 1 kWh to get current distribution price. No VAT calculation is performed, you get one of the prices you set, depending on HDO state.
Home Assistant needs to be restarted after modifying the configuration.