From ad0d681eed2045c04fc0650b5f95c0ce224c7c19 Mon Sep 17 00:00:00 2001 From: Nerivec <62446222+Nerivec@users.noreply.github.com> Date: Tue, 17 Dec 2024 20:54:11 +0100 Subject: [PATCH] fix --- src/adapter/adapter.ts | 4 ++-- test/adapter/adapter.test.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/adapter/adapter.ts b/src/adapter/adapter.ts index debd7991e6..9c61d6c98b 100644 --- a/src/adapter/adapter.ts +++ b/src/adapter/adapter.ts @@ -60,9 +60,9 @@ export abstract class Adapter extends events.EventEmitter { const adapterLookup = { deconz: ['./deconz/adapter/deconzAdapter', 'DeconzAdapter'], ember: ['./ember/adapter/emberAdapter', 'EmberAdapter'], - ezsp: ['./ezsp/adapter/EZSPAdapter', 'EZSPAdapter'], + ezsp: ['./ezsp/adapter/ezspAdapter', 'EZSPAdapter'], zstack: ['./z-stack/adapter/zStackAdapter', 'ZStackAdapter'], - zboss: ['./zboss/adapter/ZBOSSAdapter', 'ZBOSSAdapter'], + zboss: ['./zboss/adapter/zbossAdapter', 'ZBOSSAdapter'], zigate: ['./zigate/adapter/zigateAdapter', 'ZiGateAdapter'], }; const [adapter, path] = await discoverAdapter(serialPortOptions.adapter, serialPortOptions.path); diff --git a/test/adapter/adapter.test.ts b/test/adapter/adapter.test.ts index bd0c62af7e..dd2cac8377 100644 --- a/test/adapter/adapter.test.ts +++ b/test/adapter/adapter.test.ts @@ -3,12 +3,12 @@ import os from 'os'; import {Bonjour, BrowserConfig} from 'bonjour-service'; import {Adapter, TsType} from '../../src/adapter'; +import {SerialPort} from '../../src/adapter/serialPort'; import {DeconzAdapter} from '../../src/adapter/deconz/adapter/deconzAdapter'; import {EmberAdapter} from '../../src/adapter/ember/adapter/emberAdapter'; -import {EZSPAdapter} from '../../src/adapter/ezsp/adapter/EZSPAdapter'; -import {SerialPort} from '../../src/adapter/serialPort'; +import {EZSPAdapter} from '../../src/adapter/ezsp/adapter/ezspAdapter.ts'; import {ZStackAdapter} from '../../src/adapter/z-stack/adapter/zStackAdapter'; -import {ZBOSSAdapter} from '../../src/adapter/zboss/adapter/ZBOSSAdapter'; +import {ZBOSSAdapter} from '../../src/adapter/zboss/adapter/zbossAdapter'; import {ZiGateAdapter} from '../../src/adapter/zigate/adapter/zigateAdapter'; import { DECONZ_CONBEE_II,