#Template variable error

1 messages · Page 1 of 1 (latest)

crisp hatch
#

Hi everyone, I'm getting the following warnings in Home Assistant:

Template variable error: 'context' is undefined when rendering '{{ 'DISMISS_' ~ context.id }}'
Template variable error: 'context' is undefined when rendering '{{ 'CONFIRM_' ~ context.id }}'
Template variable warning: 'action_dismiss' is undefined when rendering '{{ action_dismiss }}'
Template variable error: 'wait' is undefined when rendering '{{ wait.trigger.event.data.action == action_confirm }}'
Template variable error: 'wait' is undefined when rendering '{{ wait.trigger.event.data.action == action_dismiss }}'

By searching with grep, I found these references in this file:

./blueprints/script/homeassistant/confirmable_notification.yaml

It seems that some template variables (context, action_dismiss, wait) are not defined when rendering. Has anyone encountered this before or knows how to fix it?

sour raptor
#

WHere is this template being used? In automation? I checked my automation logs, the context is part of this.context variable.

lime widget
#

You need it Developer tools state or in the trace of an automation or script to see what attributes are available for an entity.

fickle graniteBOT