EVcharge Process WIP testing
This commit is contained in:
9
custom_templates/template_library.jinja
Normal file
9
custom_templates/template_library.jinja
Normal file
@@ -0,0 +1,9 @@
|
||||
{% macro getpower_id(evcharge_id) %}
|
||||
{% set attrib_list = device_entities( device_id (evcharge_id ) ) %}
|
||||
{% for attrib in attrib_list %}
|
||||
{% if ( attrib | regex_search('power$')) %}
|
||||
{{ attrib }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
|
||||
Reference in New Issue
Block a user