added node label for zwave

This commit is contained in:
=
2020-12-25 17:05:06 +01:00
parent 643e1ccc64
commit c4e163f66e
4 changed files with 19 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
{% set label = data['path'].split('/')[-1] -%}
{% if label in ['rfxtrx433'] -%}
{% if label in ['rfxtrx433', 'zwave'] -%}
{% if data['change'] == 'IN_CREATE' -%}
{% set label = label + '=true' -%}
{% else %}