Thanks for your nice work. Maybe these settings in the Docs could be helpful for others. This works well with my 330e, I suppose It will work well with others, too:
Integration: BMW Connected Drive

type: custom:timer-bar-card
entity: sensor.330e_charging_status
active_state: CHARGING
end_time:
entity: sensor.330e_charging_end_time