I’m still struggling with this, I can’t even set up currency conversion according to previous posts. The sensor still shows 0.00 CZK/kW. Please help me…
Hello, i have small problem. I have automation charging/discharging battery. Update of cost rate sensor sometimes not work. And battery stop charging/discharging. After few minutes/seconds its ok. Its possible to change update interval?
2022-09-01 01:41:06 WARNING (MainThread) [homeassistant.components.sensor] Updating ote_rate sensor took longer than the scheduled update interval 0:00:30
2022-09-01 03:01:16 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.current_ote_energy_cost is taking over 10 seconds
OTE throttles or times out some times. I’ll see if I can override the “unavailable” with previous value if it times out. In the meantime, try using the “For” parameter in the trigger configuration for your automation.
The tarif is specific to your distribution network and “distribuční sazba”. It’s not based on the data from OTE. Check your contract pricelist and configure an utility meter with two tariffs: peak and off peak. I have a template sensor that calculates the current price including the cost of energy transport.
PEAK_PRICE and OFFPEAK_PRICE are based on the contract with my energy provider. Generally, if you’re not having a smart meter that reports your usage in realtime the current price doesn’t matter - you could just create a template sensor setting the peak/offpeak price based on your cost and the state of the utility meter (called “select” now).