Hey Filip,
I'm currently also trying to use this widget. I got the same error as you in the beginning and also managed to fix it. Sadly afterwards the chart only said "error" as an error and nothing further.
Did you manage to realy get this module working?
Could you please share some insights on what entities you are using etc?
Thanks and Best Regards
Syman