Left time of Google Home Timer as Trigger

Hi,

I am trying to set up a trigger of a Google Home timer, but I do not know how to use timestamp in conjunction therewith. My aim is to fire up a notification when the value changes.

{{ (as_timestamp(state_attr('sensor.ghm_wohnzimmer_timers', 'local_time') - now().timestamp()) <= 60 }}

Message malformed: invalid template (TemplateSyntaxError: unexpected ‘}’, expected ‘)’) for dictionary value @ data[‘value_template’]

Any help is appreciated, many thanks!

You have a problem with brackets lining up.

{{ (as_timestamp(state_attr('sensor.ghm_wohnzimmer_timers', 'local_time'))) - now().timestamp() <= 60 }}