Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
kbickar committed Oct 13, 2024
1 parent 21399ec commit 6cadfaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sense_energy/sense_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def active_solar_power(self) -> float:
return self._realtime.get("solar_w", 0)

@property
def active_voltage(self) -> float:
def active_voltage(self) -> list[float]:
return self._realtime.get("voltage", [])

@property
Expand Down

0 comments on commit 6cadfaa

Please sign in to comment.