Skip to content
Permalink
Browse files

Merge pull request #15 from directman66/alpha

Update map.inc.php
  • Loading branch information...
directman66 committed Jul 8, 2019
2 parents 7714410 + 0d97531 commit ebc1a9535fa51146f09771247387e85ec2818c15
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/zigbee2mqtt/map.inc.php
@@ -2,7 +2,7 @@
//$maparray=SQLSelectOne ('select * from zigbee2mqtt where value like "digraph%"');
//$maparray=SQLSelect('SELECT * FROM (select zigbee2mqtt_devices.ID DEVID, zigbee2mqtt_devices.* from zigbee2mqtt_devices )zigbee2mqtt_devices LEFT JOIN zigbee2mqtt_devices_list ON zigbee2mqtt_devices_list.zigbeeModel=zigbee2mqtt_devices.MODEL ');
//$maparray=SQLSelect("SELECT * FROM (select zigbee2mqtt_devices.ID DEVID, zigbee2mqtt_devices.* from zigbee2mqtt_devices )zigbee2mqtt_devices LEFT JOIN zigbee2mqtt_devices_list ON zigbee2mqtt_devices_list.zigbeeModel like concat('%',zigbee2mqtt_devices.MODEL,'%') ");
$maparray=SQLSelect("select * from zigbee2mqtt_devices where LENGTH(TITLE)>0 and LENGTH(SELECTTYPE)>0 ");
$maparray=SQLSelect("select * from zigbee2mqtt_devices where LENGTH(TITLE)>0 and LENGTH(SELECTTYPE)>0 and SELECTTYPE<>'group'");

0 comments on commit ebc1a95

Please sign in to comment.
You can’t perform that action at this time.