mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-12 10:28:01 +00:00
Add support for doorbells and chimes (#1435)
Add support for `smart` chimes and `smartcam` doorbells that are not hub child devices. Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
This commit is contained in:
@@ -245,6 +245,12 @@ ET = DeviceEncryptionType
|
||||
SslAesTransport,
|
||||
id="smartcam-hub",
|
||||
),
|
||||
pytest.param(
|
||||
CP(DF.SmartTapoDoorbell, ET.Aes, https=True),
|
||||
SmartCamProtocol,
|
||||
SslAesTransport,
|
||||
id="smartcam-doorbell",
|
||||
),
|
||||
pytest.param(
|
||||
CP(DF.IotIpCamera, ET.Aes, https=True),
|
||||
IotProtocol,
|
||||
@@ -281,6 +287,12 @@ ET = DeviceEncryptionType
|
||||
KlapTransportV2,
|
||||
id="smart-klap",
|
||||
),
|
||||
pytest.param(
|
||||
CP(DF.SmartTapoChime, ET.Klap, https=False),
|
||||
SmartProtocol,
|
||||
KlapTransportV2,
|
||||
id="smart-chime",
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_get_protocol(
|
||||
|
Reference in New Issue
Block a user