From cacbb2eb1237f78a2471ac9ac4f6fefb69265ee8 Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Mon, 14 Sep 2020 10:41:05 -0500 Subject: [PATCH] Add unique_id to canary camera (#40054) --- homeassistant/components/canary/camera.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/canary/camera.py b/homeassistant/components/canary/camera.py index 3ba7f094da1..4f8370fb09c 100644 --- a/homeassistant/components/canary/camera.py +++ b/homeassistant/components/canary/camera.py @@ -72,6 +72,11 @@ class CanaryCamera(Camera): """Return the name of this device.""" return self._device.name + @property + def unique_id(self): + """Return the unique ID of this camera.""" + return str(self._device.device_id) + @property def is_recording(self): """Return true if the device is recording."""