From ca6a50633d9c68b28dbe7191212a3f0c20d6c032 Mon Sep 17 00:00:00 2001 From: Alexey ALERT Rubasheff Date: Mon, 15 Aug 2022 20:11:22 +0300 Subject: [PATCH] Fixes custom-components/pyscript#374 --- custom_components/pyscript/trigger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/pyscript/trigger.py b/custom_components/pyscript/trigger.py index 15a524b..9f5689f 100644 --- a/custom_components/pyscript/trigger.py +++ b/custom_components/pyscript/trigger.py @@ -1116,6 +1116,7 @@ async def trigger_watch(self): self.name, self.state_hold, ) + func_args.update(user_kwargs) continue if state_trig_waiting: state_trig_waiting = False