Fix event data variables for time_pattern triggers
Added guards to event data variables (event_hub_name, event_album_name, etc.) to check if trigger.event is defined before accessing it. Previously, these variables would error when the trigger was time_pattern (hourly_timer) since trigger.event doesn't exist for non-event triggers, causing the entire automation to fail silently. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": "1.22.9"
|
||||
"version": "1.22.10"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user