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:
Teemu R
2021-03-18 19:22:10 +01:00
committed by GitHub
parent 2fe1b209d0
commit 1ee4757fdb
6 changed files with 28 additions and 9 deletions

View File

@@ -8,6 +8,7 @@ from pprint import pprint as pp
import click
import dpkt
from dpkt.ethernet import ETH_TYPE_IP, Ethernet
from kasa.protocol import TPLinkSmartHomeProtocol