jonasbkarlsson / ev_smart_charging

Electric vehicle smart charging for Home Assistant.
MIT License
139 stars 18 forks source link

Support andreas-berg fork of entso-e integration #250

Open acejoh opened 3 months ago

acejoh commented 3 months ago

Hi,

Thank you for your work on this integration! I'm using a fork of the entso-e integration (https://github.com/andreas-berg/hass-entsoe-dayahead) which is better maintained than the original one. However the electricity price structure does not match the format of the original integration. When I attempt to add the data to the ev_smart_charging device it I get the following error: image

Would it be possible to add support for this integration?

Kind regards

jonasbkarlsson commented 3 months ago

This could be maybe be solved in the same way as for #231

andreas-berg commented 3 months ago

Hi guys, @acejoh got me interested in the ev_smart_charging and the possibility to integrate the hass-entsoe-dayahead (a fork of JaccoRs original but seemingly unmaintained) component. This component currently only provides two sensors: todays prices (in the configured timezone) and tomorrows prices (same TZ, empty array when tomorrow not available).
In both cases, the sensor value is in the simplest way possible, arrays of floats. The European electricity markets will change (of course not all at the same time, where would be the fun in that ;)) to a 15-min slot and this will not break this array but it will break any client logic that expects the data in 1h slots. @jonasbkarlsson If you have a clear preference on new stable interface, pls let me know and I'd be happy to implement this in the hass-entsoe-dayahead.