We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b90e43 commit f1f8baaCopy full SHA for f1f8baa
pyhilo/devices.py
@@ -69,7 +69,7 @@ def _map_readings_to_devices(
69
)
70
return updated_devices
71
72
- def find_device(self, device_identifier: int | str) -> HiloDevice:
+ def find_device(self, device_identifier: int | str) -> HiloDevice | None:
73
"""Makes sure the devices received have an identifier, this means some need to be hardcoded
74
like the unknown power meter.
75
"""
0 commit comments