EVcharge Process WIP testing

This commit is contained in:
2025-02-08 00:45:32 +01:00
parent e787da4d86
commit 41c3a4fef1
3 changed files with 56 additions and 3 deletions

View 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 %}