From d0005582277ba33d1b4cb96efd7284dbaecb9875 Mon Sep 17 00:00:00 2001 From: starkillerOG Date: Wed, 8 Jan 2025 09:28:01 +0100 Subject: [PATCH] Fix channel retrieval for Reolink DUO V1 connected to a NVR (#135035) fix channel retrieval for DUO V1 connected to a NVR --- homeassistant/components/reolink/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/reolink/util.py b/homeassistant/components/reolink/util.py index f52cb08286c..f10da8e4b96 100644 --- a/homeassistant/components/reolink/util.py +++ b/homeassistant/components/reolink/util.py @@ -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)