2020-06-05 10:08:19 +00:00
|
|
|
{{ name }}
|
|
|
|
===
|
|
|
|
{{ description }}
|
|
|
|
|
|
|
|
{% if dependencies %}
|
|
|
|
## Dependencies
|
|
|
|
{% for d in dependencies|sort %}
|
|
|
|
- {{ d }}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if parameters %}
|
|
|
|
## Parameters
|
2020-06-22 15:16:38 +00:00
|
|
|
| Parameter | Type | Default | Format | Description | set value @ {{ timestamp }} |
|
|
|
|
|-----------|------|---------|--------|-------------|-------------------------|
|
2020-06-05 10:08:19 +00:00
|
|
|
{% for p in parameters.keys() %}
|
|
|
|
{% if parameters[p]['AllowedValues'] or parameters[p]['AllowedPattern'] %}
|
|
|
|
{% set format = '`%s%s`' % (parameters[p]['AllowedValues'], parameters[p]['AllowedPattern']) %}
|
|
|
|
{% endif %}
|
|
|
|
{% if parameters[p]['Default'] and parameters[p]['Type'].lower() == "string" %}
|
|
|
|
{% set def = '`"%s"`' % parameters[p]['Default'] %}
|
|
|
|
{% else %}
|
|
|
|
{% set def = parameters[p]['Default'] %}
|
|
|
|
{% endif %}
|
2020-06-22 15:16:38 +00:00
|
|
|
| {{ p }} | {{ parameters[p]['Type'] | lower }} | {{ def }} | {{ format }} | {{ parameters[p]['Description'] }} | {{ parameters[p]['value'] }} |
|
2020-06-05 10:08:19 +00:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2020-06-19 16:40:51 +00:00
|
|
|
|
|
|
|
{% if outputs %}
|
|
|
|
## Outputs
|
2020-06-22 15:16:38 +00:00
|
|
|
| Output | Description | Value @ {{ timestamp }} |
|
|
|
|
|--------|-------------|-------------------------|
|
2020-06-22 13:14:11 +00:00
|
|
|
{% for p in outputs.keys() | sort%}
|
|
|
|
| {{ p }} | {{ outputs[p]['Description'] }} | {{ outputs[p]['last_value'] }} |
|
2020-06-19 16:40:51 +00:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|