Skip to content

Commit

Permalink
get_remaining_mins() can return None
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanor committed Oct 23, 2024
1 parent a3735b3 commit 13b2442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion victron_ble/devices/battery_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AuxMode(Enum):


class BatteryMonitorData(DeviceData):
def get_remaining_mins(self) -> float:
def get_remaining_mins(self) -> Optional[float]:
"""
Return the number of remaining minutes of battery life in minutes
"""
Expand Down

0 comments on commit 13b2442

Please sign in to comment.