Macro Rendering Error
File: open_projects\ESPHome-TRMNL_7+5\readme_custom_components_esphome-trmnl.md
UndefinedError: 'states' is undefined
Traceback (most recent call last):
File "C:\Users\kanst\AppData\Local\Programs\Python\Python312\Lib\site-packages\mkdocs_macros\plugin.py", line 703, in render
return md_template.render(**page_variables)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kanst\AppData\Local\Programs\Python\Python312\Lib\site-packages\jinja2\environment.py", line 1295, in render
self.environment.handle_exception()
File "C:\Users\kanst\AppData\Local\Programs\Python\Python312\Lib\site-packages\jinja2\environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 213, in top-level template code
File "C:\Users\kanst\AppData\Local\Programs\Python\Python312\Lib\site-packages\jinja2\utils.py", line 92, in from_obj
if hasattr(obj, "jinja_pass_arg"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'states' is undefined