mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-08-23 14:02:24 +00:00
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>