lint src files

This commit is contained in:
2022-12-12 14:58:54 -06:00
parent b754eece0d
commit 8df019aee4
4 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ function registerDevice(newDevice) {
devices[id].plugin = PLUGINS.all[newDevice.type];
if (
Object.keys(devices[id].fields).length == 0 &&
Object.keys(devices[id].fields).length === 0 &&
PLUGINS.all[newDevice.type].config.fields
) {
PLUGINS.all[newDevice.type].config.fields.forEach((field) => {
@@ -206,7 +206,7 @@ function initDeviceConnection(id) {
device.send = (data) => {};
}
//device.plugin = plugins[type];
// device.plugin = plugins[type];
return true;
}