Skip to content

Commit e45ed15

Browse files
committed
_get_device_data(): type output as DeviceDataPoints
1 parent d4d37cd commit e45ed15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugwise/smile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
ActuatorData,
3636
ApplianceData,
3737
DeviceData,
38+
DeviceDataPoints,
3839
GatewayData,
3940
SmileBinarySensors,
4041
SmileSensors,
@@ -264,7 +265,7 @@ def _check_availability(
264265
if "P1 does not seem to be connected to a smart meter" in msg:
265266
device_data["available"] = False
266267

267-
def _get_device_data(self, dev_id: str) -> DeviceData:
268+
def _get_device_data(self, dev_id: str) -> DeviceDataPoints:
268269
"""
269270
Helper-function for _all_device_data() and async_update().
270271

0 commit comments

Comments
 (0)