Hi everyone,
Just ran into an issue after a core upgrade.
I have a few automations that I built into the GUI previously, they are still working like a charm but it looks like something is going wrong when I try to edit them in GUI.
I have a empty page with the following error poping in js console
No errors in the HA logs.
As far as I know, it occurs with all my integration that are sending actionnable notifications but I have no clue which step of the automation cause the issue.
Find below an automation that cause the issue.
alias: '[monitoring] nobody is home'
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.someone_home
from: 'on'
for:
hours: 0
minutes: 3
seconds: 0
to: 'off'
condition:
- condition: state
entity_id: alarm_control_panel.alarmo
state: disarmed
action:
- variables:
activate_action: '{{ ''ACTIVATE_'' ~ context.id }}'
cancel_action: '{{ ''CANCEL_'' ~ context.id }}'
tag: '{{ ''ha_nobody_is_home'' }}'
- action: notify.all_devices
metadata: {}
data:
message: 'nobody is at home '
title: Alarme
data:
actions:
- action: '{{ activate_action }}'
title: Arm alarm
destructive: true
- action: '{{ cancel_action }}'
title: Cancel
tag: '{{ tag }}'
- wait_for_trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: '{{ activate_action }}'
- platform: event
event_type: mobile_app_notification_action
event_data:
action: '{{ cancel_action }}'
- platform: state
entity_id:
- binary_sensor.someone_home
to: 'on'
- choose:
- conditions:
- condition: template
value_template: '{{ wait.trigger.event.data.action == activate_action }}'
sequence:
- action: alarmo.arm
data:
mode: away
entity_id: alarm_control_panel.alarmo
force: true
skip_delay: true
- conditions:
- condition: template
value_template: '{{ wait.trigger.event.data.action == cancel_action }}'
sequence:
- action: notify.all_devices
metadata: {}
data:
message: clear_notification
data:
tag: '{{ tag }}'
mode: restart
Any hint are welcomes, I will try to investigate on which step exactly cause the issue more precisely.
Additional information : When I try to create a new automation with the exact same content, the GUI is working fine during the creation. However, when I save it I got an error message. The newly created automation does work, but is impacted the same way as my previous one : working but cannot edit them in the GUI.
Since the automations used to work in GUI, and are still working even though it’s not possible to display them anymore in GUI, I assume this look like a regression and I hope this can be fixed to avoid breaking the GUI for many users.