Fix parameter type for invert_solar in fix_usage_sign function

This commit is contained in:
magico13
2025-06-05 20:55:27 -04:00
parent 07d4029aa8
commit dd3854d24f

View File

@@ -585,7 +585,7 @@ def fix_usage_sign(
usage: float,
bidirectional: bool,
is_solar: bool,
invert_solar: str,
invert_solar: bool,
) -> float:
"""If the channel is not '1,2,3' or 'Balance' we need it to be positive.