Permalink
Browse files

Update zigbee2mqtt.class.php

  • Loading branch information...
directman66 committed Jan 11, 2019
1 parent 1b336c5 commit 935b7df9b944c0a1be663f4658204004b687dbd2
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/zigbee2mqtt/zigbee2mqtt.class.php
@@ -322,7 +322,7 @@ function processMessage($path, $value) {
}
/* Insert new record in db */
$rec['PATH']=$path;
$rec['METRIKA']=substr($path,strrpos($path,'/'));
$rec['METRIKA']=substr($path,strrpos($path,'/')+1);
// $rec['METRIKA']="1";
$rec['DEV_ID']=$dev_id;
$rec['TITLE']=$path;

0 comments on commit 935b7df

Please sign in to comment.