kellerza / pysma

Async library for SMA Solar's WebConnect interface
MIT License
59 stars 51 forks source link

Support other language than english #117

Closed frimtec closed 1 year ago

frimtec commented 1 year ago

Would like to use pysma with another language than the hardcoded "en-US".

frimtec commented 1 year ago

Fixed all code layout issues.

codecov[bot] commented 1 year ago

Codecov Report

Merging #117 (1032b55) into master (2ab0165) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master      #117    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files            5         6     +1     
  Lines          242       432   +190     
==========================================
+ Hits           242       432   +190     
Impacted Files Coverage Δ
pysma/__init__.py 100.00% <100.00%> (ø)
pysma/const.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

frimtec commented 1 year ago

Fixed all code layout issues in new test.

frimtec commented 1 year ago

Dear @rklomp, would it be possible to make a new release of pysma with the merged change? My idea is to integrate the new language feature into home assistant. Many thanks in advance frimtec

rklomp commented 1 year ago

Done! Bumped to 0.7.4