isy-nodejs 1.0.4-alpha.1 → 1.0.5-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "isy-nodejs",
3
3
  "description": "Node.js wrapper for ISY interface including websockets for change notifications. Fork of isy-js by Rod Toll. Designed to be used in a node.js application.",
4
4
  "license": "MIT",
5
- "version": "1.0.4-alpha.1",
5
+ "version": "1.0.5-alpha.0",
6
6
  "author": {
7
7
  "name": "Pradeep Mouli"
8
8
  },
@@ -73,5 +73,5 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "25bc1f98e239376a78bf7e78b852a5c25e2b964f"
76
+ "gitHead": "33a72bbbf3d091f30e5fa0ac72cc671be6119f44"
77
77
  }
@@ -2,6 +2,7 @@ import { Category } from '../../Definitions/Global/Categories.js';
2
2
 
3
3
  import { parseTypeCode } from '../../Utils.js';
4
4
  import { NodeInfo } from '../../Model/NodeInfo.js';
5
+ import * as Insteon from './index.js';
5
6
  import { InsteonDimmableDevice } from './InsteonDimmableDevice.js';
6
7
  import { InsteonDimmerOutletDevice } from './InsteonDimmerOutletDevice.js';
7
8
  import { InsteonDimmerSwitchDevice } from './InsteonDimmerSwitchDevice.js';
@@ -1,15 +1,11 @@
1
- import { Identity } from '@project-chip/matter.js/util';
2
- import { ISY } from '../../ISY.js';
1
+ import type { ISY } from '../../ISY.js';
2
+
3
3
 
4
4
 
5
- import { InsteonRelayDevice } from './InsteonRelayDevice.js';
6
5
  //
7
6
  import type { DimmableLightRequirements } from '@project-chip/matter.js/devices/DimmableLightDevice';
8
- import { ClusterBehavior } from '@project-chip/matter.js/behavior/cluster';
9
- import { OnOffBehavior as OOB, OnOffInterface } from '@project-chip/matter.js/behaviors/on-off';
10
- import { OnOff, ClusterType } from '@project-chip/matter.js/cluster';
7
+ import { OnOffBehavior as OOB } from '@project-chip/matter.js/behaviors/on-off';
11
8
  import 'winston';
12
- import { UnitOfMeasure } from '../../Definitions/Global/UOM.js';
13
9
  import type { NodeInfo } from '../../Model/NodeInfo.js';
14
10
  import { DimmerLampSwitchNode } from './Generated/DimmerLampSwitch.js';
15
11
 
@@ -1,8 +1,8 @@
1
1
  import type { NodeInfo } from '../../Model/NodeInfo.js';
2
2
  import type { ISY } from '../../ISY.js';
3
- import { InsteonDimmableDevice } from './InsteonDimmableDevice.js';
3
+ import { DimmerLampNode } from './Generated/DimmerLamp.js';
4
4
 
5
- export class InsteonDimmerOutletDevice extends InsteonDimmableDevice {
5
+ export class InsteonDimmerOutletDevice extends DimmerLampNode {
6
6
  constructor (isy: ISY, deviceNode: NodeInfo) {
7
7
  super(isy, deviceNode);
8
8
  }
@@ -1,23 +1,16 @@
1
- import { InsteonLeakSensorDevice } from "./InsteonLeakSensorDevice.js";
1
+
2
2
  //import Base from "./InsteonBaseDevice.js"
3
- import { InsteonLockDevice } from "./InsteonLockDevice.js";
4
- import { InsteonFanDevice } from "./InsteonFanDevice.js";
5
- import { InsteonRelayDevice } from "./InsteonRelayDevice.js";
6
- import { InsteonDimmableDevice } from "./InsteonDimmableDevice.js";
7
- import { InsteonKeypadDimmerDevice } from "./InsteonKeypadDimmerDevice.js";
8
- import { InsteonMotionSensorDevice } from "./InsteonMotionSensorDevice.js";
9
- import { InsteonDimmerSwitchDevice } from "./InsteonDimmerSwitchDevice.js";
10
- import { InsteonSmokeSensorDevice } from "./InsteonSmokeSensorDevice.js";
11
- import { InsteonDimmerOutletDevice } from "./InsteonDimmerOutletDevice.js";
12
- import { InsteonRelaySwitchDevice } from "./InsteonRelaySwitchDevice.js";
13
- import { InsteonThermostatDevice } from "./InsteonThermostatDevice.js";
14
- import { InsteonDoorWindowSensorDevice } from './InsteonDoorWindowSensorDevice.js';
15
-
16
- import { ISYNode } from '../../ISYNode.js';
17
- import type * as GeneratedTypes from "./Generated/index.js";
3
+
4
+
18
5
 
19
6
  export {InsteonBaseDevice as Base} from "./InsteonBaseDevice.js";
20
7
 
8
+ export * from './Generated/index.js';
9
+
10
+ export {InsteonDimmableDevice as Dimmable} from "./InsteonDimmableDevice.js";
11
+
12
+ export {InsteonRelayDevice as Relay} from "./InsteonRelayDevice.js";
13
+
21
14
  export {InsteonLeakSensorDevice as LeakSensor} from "./InsteonLeakSensorDevice.js";
22
15
 
23
16
  export {InsteonMotionSensorDevice as MotionSensor} from "./InsteonMotionSensorDevice.js";
@@ -38,6 +31,3 @@ export {InsteonDimmerOutletDevice as DimmerOutlet} from "./InsteonDimmerOutletDe
38
31
  Lock: InsteonLockDevice,
39
32
  Fan: InsteonFanDevice,
40
33
  ...Generated */
41
-
42
-
43
- export * from './Generated/index.js';