added zigbee node labeling

This commit is contained in:
=
2020-12-25 17:16:50 +01:00
parent 13023bcfac
commit a47a38ef6d
3 changed files with 15 additions and 1 deletions

View File

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