This custom component for Home Assistant calculates the current network fee tariff based on the energy distributor's rates in Slovenia. It considers various factors such as the date, whether it's a weekend, a public holiday, or a specific season of the year to calculate the tariff.
- Calculates current energy tariff based on date and time.
- Automatically identifies weekends and Slovenian public holidays.
- Adjusts tariffs for high and low seasons.
-
Download the Custom Component
- Download the files from the repository.
-
Copy to Your Custom Components Directory
- Copy the downloaded files into the
custom_components/elektro_network_tariff
directory in your Home Assistant configuration directory.
- Copy the downloaded files into the
-
Restart Home Assistant
- Restart your Home Assistant instance to load the new component.
After installation, you need to add the component to your Home Assistant configuration. Edit your configuration.yaml
file and add the following configuration:
sensor:
- platform: elektro_network_tariff