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

@@ -131,6 +131,7 @@ SENSORS_SMART = {
"S200D",
"S210",
"S220",
"D100C", # needs a home category?
}
THERMOSTATS_SMART = {"KE100"}
@@ -345,6 +346,16 @@ hub_smartcam = parametrize(
device_type_filter=[DeviceType.Hub],
protocol_filter={"SMARTCAM"},
)
doobell_smartcam = parametrize(
"doorbell smartcam",
device_type_filter=[DeviceType.Doorbell],
protocol_filter={"SMARTCAM", "SMARTCAM.CHILD"},
)
chime_smart = parametrize(
"chime smart",
device_type_filter=[DeviceType.Chime],
protocol_filter={"SMART"},
)
vacuum = parametrize("vacuums", device_type_filter=[DeviceType.Vacuum])
@@ -362,7 +373,9 @@ def check_categories():
+ hubs_smart.args[1]
+ sensors_smart.args[1]
+ thermostats_smart.args[1]
+ chime_smart.args[1]
+ camera_smartcam.args[1]
+ doobell_smartcam.args[1]
+ hub_smartcam.args[1]
+ vacuum.args[1]
)