From c197768f3ff6346a154c3822f239d1827e93c3de Mon Sep 17 00:00:00 2001 From: Jeff Culverhouse Date: Fri, 21 Feb 2025 10:01:25 -0500 Subject: [PATCH] fix log message --- src/amcrest2mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amcrest2mqtt.py b/src/amcrest2mqtt.py index edc565f..3a17add 100644 --- a/src/amcrest2mqtt.py +++ b/src/amcrest2mqtt.py @@ -484,7 +484,7 @@ async def main(): camera = device["camera"] topics = device["topics"] async for code, payload in camera.async_event_actions("All"): - log(f"Event on {host}: {str(payload)}", error="INFO") + log(f"Event on {host}: {str(payload)}", level="INFO") if ((code == "ProfileAlarmTransmit" and config["is_ad110"]) or (code == "VideoMotion" and not config["is_ad110"])): motion_payload = "on" if payload["action"] == "Start" else "off"