I have a value template condition within the alarm system automation which was previously working fine. I recently noticed the following error in the log file:
Error in 'choose[2]' evaluation: In 'or' (item 2 of 2): In 'template' condition: UndefinedError: 'dict object' has no attribute 'event'
I have traced the error back to the following value template condition:
It would appear the second condition based on the event trigger is causing the issue. I have tested the automation and can confirm this condition is no longer working. The automation processes even when the camera entity triggers the automation.
Can anyone see what the problem could be? Any suggestions gratefully received.
Could anyone tell me why the following template condition isn’t working as expected please. It will work if the triggering platform is event however if the triggering platform is state nothing happens. I want the automation to run on any event triggers apart from camera_north and on any state triggers.