From c0c2fbc2f6f0c4cfefd96c7420a102a360ab888c Mon Sep 17 00:00:00 2001 From: maciej-or Date: Wed, 5 Jul 2023 08:18:30 +0200 Subject: [PATCH] release v1.0.9 --- custom_components/hikvision_next/notifications.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/hikvision_next/notifications.py b/custom_components/hikvision_next/notifications.py index 635742d..de1fb72 100644 --- a/custom_components/hikvision_next/notifications.py +++ b/custom_components/hikvision_next/notifications.py @@ -156,6 +156,7 @@ def trigger_sensor(self, xml: str) -> None: def fire_hass_event(self, alert: AlertInfo): """Fire HASS event""" + camera = self.isapi.get_camera_by_id(alert.channel_id) message = { "channel_id": alert.channel_id,