; Group format: ; [ ] ; msg_id = {%- set config = namespace(actions = []) %} {%- for action in msg_ini.VALID_ACTIONS %} {%- set config.actions = config.actions + [ action ] %} {%- endfor %} ; action = <{{ config.actions | join("|") }}> (default: {{ msg_ini.DEFAULT_ACTION }}) {%- set config = namespace(topics = []) %} {%- for topic in msg_ini.VALID_TOPICS %} {%- set config.topics = config.topics + [ topic ] %} {%- endfor %} ; topic = <{{ config.topics | join("|") }}> (default: {{ msg_ini.DEFAULT_TOPIC }}) {% for msg in msg_ini.data.values() -%} [{{ msg.msg_id_hex_string }}] msg_id = {{ msg.msg_id }} {%- if msg.action | length %} action = {{ msg.action }} {%- endif %} {%- if msg.topic | length %} topic = {{ msg.topic }} {%- endif %} {% endfor -%}