Skip to content

Commit 98d9a84

Browse files
committed
Fix matter IDL generator, this makes unit tests pass
1 parent 4fcb419 commit 98d9a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/py_matter_idl/matter_idl/generators/idl/MatterIdl.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
{% endfor %}
7373

7474
{%- for a in cluster.attributes %}
75-
{{a.qualities | idltxt}}attribute {{a | attribute_access}}{{render_field(a.definition)}}
75+
{{"%s" | format(a.api_maturity|idltxt)}}{{a.qualities | idltxt}}attribute {{a | attribute_access}}{{render_field(a.definition)}}
7676
{% endfor %}
7777

7878
{%- for s in cluster.structs | selectattr("tag") %}

0 commit comments

Comments
 (0)