petervizi/python-eeml

Cannot create unit?

Closed this issue · 1 comments

I'm trying to create a derived unit:

pac.update([eeml.Data("Bezug", 205, minValue=0, maxValue=None, unit=eeml.Unit(name='Kilowattstunden', type='derivedSI', symbol='kWh'))])

but get an error:

TypeError: __init__() got an unexpected keyword argument 'type'

Any ideas?

Forgive me- just saw Issue #14