MiSchroe / klf-200-api

This module provides a wrapper to the REST API of a KLF-200 interface. Supporting the new API with firmware version 0.2.0.0.71 is in progress.
MIT License
38 stars 2 forks source link

Limitation percentage values are not consistent #143

Closed MiSchroe closed 4 months ago

MiSchroe commented 4 months ago

The calculated percentage values for the limitatations of a product are not consistent. They depend on the getLimitation method which sorts the min and max values by their size. Instead, the min value should always refer to the raw min value and the same for the max values.