Skip to content

Commit

Permalink
Update custom_components/wyzeapi/siren.py
Browse files Browse the repository at this point in the history
Reword comment to show only V1 Campan not having a siren

Signed-off-by: Brian Rogers <brg468@hotmail.com>
  • Loading branch information
brg468 authored Sep 4, 2024
1 parent ac65c7e commit 58cf3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/wyzeapi/siren.py
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry,
camera_service = await client.camera_service
sirens = []
for camera in await camera_service.get_cameras():
# The campan (v1 and 2), v2 camera, and video doorbell pro don't have sirens
# The campan v1, v2 camera, and video doorbell pro don't have sirens
if camera.product_model not in ["WYZECP1_JEF", "WYZEC1-JZ", "GW_BE1"]:
sirens.append(WyzeCameraSiren(camera, camera_service))

0 comments on commit 58cf3d4

Please sign in to comment.