mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-06 10:44:04 +00:00
Return None instead of raising an exception on missing, valid emeter keys (#146)
Fixes #142 Also, update the pre-commit hooks to their newest versions
This commit is contained in:
@@ -12,6 +12,7 @@ Module-specific errors are raised as `SmartDeviceException` and are expected
|
||||
to be handled by the user of the library.
|
||||
"""
|
||||
from importlib_metadata import version # type: ignore
|
||||
|
||||
from kasa.discover import Discover
|
||||
from kasa.exceptions import SmartDeviceException
|
||||
from kasa.protocol import TPLinkSmartHomeProtocol
|
||||
|
Reference in New Issue
Block a user