Permalink
Browse files

Update zigbee2mqtt.class.php

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

0 comments on commit a3913ad

Please sign in to comment.