nordicopen / pyeasee

Easee EV charger API python library
MIT License
39 stars 11 forks source link

Add raw mode, backwards compatible #31

Closed astrandb closed 3 years ago

astrandb commented 3 years ago

Added raw mode that presents raw data from the api. Except for the little change that None in Reason_for_no_current is changed to string "none". The intention is that this PR is fully backwards compatible. CLI tools and current release of easee are not affected. Text mappings in pyeasee are not changed. My idea is to map integer values to translatable strings in easee. I think this PR can be merged and released to pypi after review. It will simplify further development in easee if the library is available as a new release.

fondberg commented 3 years ago

Didnt you miss the site state getter?

astrandb commented 3 years ago

Didnt you miss the site state getter?

Please explain, I don't get what you mean.

fondberg commented 3 years ago

I think i mixed up. Dont mind me

fondberg commented 3 years ago

How do we do with #28? If you add correct status names in this we can close that

astrandb commented 3 years ago

Status and reason codes updated according to @Hellowlol #28

fondberg commented 3 years ago

Need to resolve some conflicts before merge