From 6cadfaa9ee875cb8d2d9a3d6735d7c4bb779bf91 Mon Sep 17 00:00:00 2001 From: Keilin Date: Sun, 13 Oct 2024 17:43:06 -0400 Subject: [PATCH] Fix typing --- sense_energy/sense_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sense_energy/sense_api.py b/sense_energy/sense_api.py index cae1e1a..901e621 100644 --- a/sense_energy/sense_api.py +++ b/sense_energy/sense_api.py @@ -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