We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4defbe1 commit f0b1aaaCopy full SHA for f0b1aaa
1 file changed
core/php/jeeAjaxSystem.php
@@ -70,7 +70,7 @@
70
if ($convert_key == 'realState') {
71
$value = ($value == 0) ? 1 : 0;
72
}
73
- if($ajaxSystem->getConfiguration('device') == 'LightSwitchTwoChannelTwoWay' && $key == 'channelStatus'){
+ if(in_array($ajaxSystem->getConfiguration('device'),array('LightSwitchTwoChannelTwoWay','LightSwitchTwoGang')) && $key == 'channelStatus'){
74
switch ($value) {
75
case 0:
76
$ajaxSystem->checkAndUpdateCmd('channelStatus_1', 0);
0 commit comments