Move device files into subfolders (first: devices/mqtt).
This commit is contained in:
@@ -94,7 +94,7 @@ AQHMQTT_DEVICE_LIST *AqHomeMqttLog_ReadDataDeviceFiles(AQHOME_MQTT *aqh)
|
||||
{
|
||||
GWEN_STRINGLIST *sl;
|
||||
|
||||
sl=AQH_GetListOfMatchingDataFiles("aqhome/devices", "*.xml");
|
||||
sl=AQH_GetListOfMatchingDataFiles("aqhome/devices/mqtt", "*.xml");
|
||||
if (sl) {
|
||||
AQHMQTT_DEVICE_LIST *deviceList;
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<?xml?>
|
||||
|
||||
<gwbuild>
|
||||
<data dist="true" install="$(datadir)/aqhome/devices">
|
||||
tasmota_plug.xml
|
||||
</data>
|
||||
|
||||
<subdirs>
|
||||
mqtt
|
||||
</subdirs>
|
||||
|
||||
</gwbuild>
|
||||
|
||||
8
devices/mqtt/0BUILD
Normal file
8
devices/mqtt/0BUILD
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml?>
|
||||
|
||||
<gwbuild>
|
||||
<data dist="true" install="$(datadir)/aqhome/devices/mqtt">
|
||||
tasmota_plug.xml
|
||||
</data>
|
||||
|
||||
</gwbuild>
|
||||
Reference in New Issue
Block a user