Template error - endif (Resolved)

Can anyone help with what is wrong? Indention?

error:

 homeassistant.exceptions.TemplateError: TemplateSyntaxError: Unexpected end of template. Jinja was looking for the following tags: 'endif'. The innermost block that needs to be closed is 'if'.
2024-01-30 11:00:10.449 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% set status = state_attr('climate.kitchen,'hvac_action') %}
{% if status == 'cooling' %}
blue
{% elif status == 'heating' %}
orange
{% else %}
grey
{% endif %}) renders=70> 

yaml:

    icon_color: |-
      {% set status = state_attr('climate.kitchen,'hvac_action') %}
      {% if status == 'cooling' %}
      blue
      {% elif status == 'heating' %}
      orange
      {% else %}
      grey
      {% endif %}

You are missing the closing quote on climate.kitchen.

Thanks for fresh eyes… so easy. So easy to mess up too.