Skip to content

Commit

Permalink
Update configuration.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored May 10, 2024
1 parent fc5f8f6 commit 771aa26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin_info/configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 771aa26

Please sign in to comment.