Skip to content

Commit

Permalink
Update zigbee2mqtt.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
directman66 committed Nov 21, 2019
1 parent 525b796 commit 848d71a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/zigbee2mqtt/zigbee2mqtt.class.php
Expand Up @@ -2852,11 +2852,11 @@ function admin(&$out) {
$cmd='
include_once(DIR_MODULES . "zigbee2mqtt/zigbee2mqtt.class.php");
$z2m= new zigbee2mqtt();
$this->getConfig();
$zz=explode('/',$this->config["MQTT_QUERY"])[0];
$z2m->sendcommand($zz."/bridge/config/log_level", "'.$z2m_logmode2.'");
';
SetTimeOut('z2m_set_dubug',$cmd, '1');
$z2m->getConfig();
$zz=explode("/",$z2m->config["MQTT_QUERY"])[0];
$z2m->sendcommand($zz."/bridge/config/log_level", "'.$z2m_logmode2.'");';
//debmes($cmd, 'z2mdebug');
SetTimeOut('z2m_set_dubug',$cmd, '1');



Expand Down

0 comments on commit 848d71a

Please sign in to comment.