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:
steveredden
2025-01-23 03:22:41 -06:00
committed by GitHub
parent acc0e9a80a
commit 54bb53899e
13 changed files with 75 additions and 42 deletions

View File

@@ -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(