EOS/src/akkudoktoreos
7tobias decae10434
fix: handle float values in userhorizon configuration (#657)
Replace int() with round() when converting userhorizon values to properly
handle float values in the configuration. This prevents validation errors
when users provide horizon angles with decimal precision.

The Akkudoktor API expects integer values, so rounding to the nearest
integer maintains compatibility while accepting float inputs.

Fixes #647

Co-authored-by: Tobias Welz <tobias-wizneteu@gmail.com>
2025-08-22 16:41:40 +02:00
..
2025-01-24 20:05:48 +01:00