Bouni / python-luxtronik

python-luxtronik is a library that allow you to interact with a Luxtronik heatpump controller.
MIT License
37 stars 20 forks source link

Add ScalingBase datatype #115

Closed gerw closed 1 year ago

gerw commented 1 year ago

Many datatypes just scale the values. This class handles them all ;)

kbabioch commented 1 year ago

tests/test_datatypes.py:1:0: C0302: Too many lines in module (1022/1000) (too-many-lines)

This also needs to be addressed. We can ignore this error at the top of the file from my point of view: https://github.com/Bouni/python-luxtronik/blob/b2b7bd0f68d5a18587e185dd5aa27e4edfcd5e6c/tests/test_datatypes.py#L3

gerw commented 1 year ago

Everything should be ok now.