By rounding the dimlevels (which are percentages) to the nearest integer, you're effectively reducing the resolution as well. Hue supports ~254 different dimlevels, rounding to integer would reduce that to only 100.
I think ideally the presentation of values (with rounding) should be separate from the internal value representation in Pimatic. Lacking that, we could round them, but it would be better to do that with 1-2 extra digits.
By rounding the dimlevels (which are percentages) to the nearest integer, you're effectively reducing the resolution as well. Hue supports ~254 different dimlevels, rounding to integer would reduce that to only 100.
I think ideally the presentation of values (with rounding) should be separate from the internal value representation in Pimatic. Lacking that, we could round them, but it would be better to do that with 1-2 extra digits.