From 771aa26cb712934846218a2eaa8199ca10f8ab60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= <1536036+zoic21@users.noreply.github.com> Date: Fri, 10 May 2024 10:06:50 +0200 Subject: [PATCH] Update configuration.php --- plugin_info/configuration.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin_info/configuration.php b/plugin_info/configuration.php index a07e01b..ffef3a1 100644 --- a/plugin_info/configuration.php +++ b/plugin_info/configuration.php @@ -199,7 +199,9 @@ $('.zigbee_portConf.' + $(this).value()).show(); } if ($(this).value() == '/dev/ttyS2' || $(this).value() == '/dev/ttyLuna-Zigbee'){ - $('#sel_z2mControllerType').value('ezsp'); + if($('#sel_z2mControllerType').value() != 'ezsp' && $('#sel_z2mControllerType').value() != 'ember'){ + $('#sel_z2mControllerType').value('ezsp'); + } } }); $('#sel_z2mControllerType').off('change').on('change', function() {