Fix channel retrieval for Reolink DUO V1 connected to a NVR (#135035)

fix channel retrieval for DUO V1 connected to a NVR
This commit is contained in:
starkillerOG
2025-01-08 09:28:01 +01:00
committed by GitHub
parent 7daf442271
commit d000558227

View File

@ -82,7 +82,8 @@ def get_device_uid_and_ch(
ch = int(device_uid[1][5:])
is_chime = True
else:
ch = host.api.channel_for_uid(device_uid[1])
device_uid_part = "_".join(device_uid[1:])
ch = host.api.channel_for_uid(device_uid_part)
return (device_uid, ch, is_chime)