azogue / ha-pvpc-custom

HomeAssistant custom integration for Spain electricity hourly pricing (PVPC)
MIT License
21 stars 2 forks source link

Min and Max price at are switched #2

Closed jjvelar closed 1 year ago

jjvelar commented 1 year ago

Hi, Looks like min_price_at and max_price_at are switched

image

azogue commented 1 year ago

You are right @jjvelar, thanks!

For the injection price sensor, the 'better price' concept is inverted (to make sense for selling energy), but looks like I missed to swap the time markers 😢

I'll try to make a patch with the fix soon 👍

jjvelar commented 1 year ago

Great. Thanks!