Skip to content

Commit

Permalink
fix(ignore): TS refactor (#5850)
Browse files Browse the repository at this point in the history
* fix(ignore): TS refactor

* updates
  • Loading branch information
Koenkk authored Jun 8, 2023
1 parent 57c8dc3 commit 0c3f1b9
Show file tree
Hide file tree
Showing 36 changed files with 280 additions and 186 deletions.
22 changes: 21 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@
"zigbee-herdsman": "^0.14.117"
},
"devDependencies": {
"@types/buffer-crc32": "^0.2.2",
"@types/jest": "^29.5.2",
"@types/node": "^20.2.5",
"@types/tar-stream": "^2.2.2",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"eslint": "^8.42.0",
Expand Down
2 changes: 1 addition & 1 deletion src/devices/bosch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import tz from '../converters/toZigbee';
import * as reporting from '../lib/reporting';
import * as utils from '../lib/utils';
import * as constants from '../lib/constants';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import {Tz, Fz, Definition, KeyValue} from '../lib/types';
const e = exposes.presets;
const ea = exposes.access;
Expand Down
2 changes: 1 addition & 1 deletion src/devices/danalock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as exposes from '../lib/exposes';
import fz from '../converters/fromZigbee';
import tz from '../converters/toZigbee';
import * as reporting from '../lib/reporting';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
const e = exposes.presets;

const definitions: Definition[] = [
Expand Down
2 changes: 1 addition & 1 deletion src/devices/danfoss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Definition} from '../lib/types';
import * as exposes from '../lib/exposes';
import fz from '../converters/fromZigbee';
import tz from '../converters/toZigbee';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import * as constants from '../lib/constants';
import * as reporting from '../lib/reporting';
const e = exposes.presets;
Expand Down
2 changes: 1 addition & 1 deletion src/devices/dresden_elektronik.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Definition} from '../lib/types';
import * as exposes from '../lib/exposes';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import extend from '../lib/extend';
const e = exposes.presets;

Expand Down
2 changes: 1 addition & 1 deletion src/devices/ecodim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import fz from '../converters/fromZigbee';
const e = exposes.presets;
import * as reporting from '../lib/reporting';
import extend from '../lib/extend';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import * as tuya from '../lib/tuya';

const definitions: Definition[] = [
Expand Down
2 changes: 1 addition & 1 deletion src/devices/eurotronic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as exposes from '../lib/exposes';
import fz from '../converters/fromZigbee';
import * as legacy from '../lib/legacy';
import tz from '../converters/toZigbee';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import * as constants from '../lib/constants';
import * as reporting from '../lib/reporting';
const e = exposes.presets;
Expand Down
2 changes: 1 addition & 1 deletion src/devices/heimgard_technologies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import fz from '../converters/fromZigbee';
import tz from '../converters/toZigbee';
import * as reporting from '../lib/reporting';
const e = exposes.presets;
import ota from '../lib/ota';
import * as ota from '../lib/ota';

const definitions: Definition[] = [
{
Expand Down
2 changes: 1 addition & 1 deletion src/devices/iluminize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import fz from '../converters/fromZigbee';
import * as reporting from '../lib/reporting';
import extend from '../lib/extend';
import tz from '../converters/toZigbee';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
const e = exposes.presets;
const ea = exposes.access;

Expand Down
2 changes: 1 addition & 1 deletion src/devices/innr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import tz from '../converters/toZigbee';
import * as reporting from '../lib/reporting';
import extend from '../lib/extend';
const e = exposes.presets;
import ota from '../lib/ota';
import * as ota from '../lib/ota';

const definitions: Definition[] = [
{
Expand Down
2 changes: 1 addition & 1 deletion src/devices/insta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as exposes from '../lib/exposes';
import fz from '../converters/fromZigbee';
import * as legacy from '../lib/legacy';
import tz from '../converters/toZigbee';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import * as reporting from '../lib/reporting';
import * as utils from '../lib/utils';
const e = exposes.presets;
Expand Down
2 changes: 1 addition & 1 deletion src/devices/ledvance.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Definition} from '../lib/types';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import extend from '../lib/extend';
import * as ledvance from '../lib/ledvance';
import * as reporting from '../lib/reporting';
Expand Down
2 changes: 1 addition & 1 deletion src/devices/lupus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as reporting from '../lib/reporting';
import extend from '../lib/extend';
const e = exposes.presets;
const ea = exposes.access;
import ota from '../lib/ota';
import * as ota from '../lib/ota';

const definitions: Definition[] = [
{
Expand Down
2 changes: 1 addition & 1 deletion src/devices/lutron.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Definition} from '../lib/types';
import * as exposes from '../lib/exposes';
import * as legacy from '../lib/legacy';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import * as reporting from '../lib/reporting';
const e = exposes.presets;
const ea = exposes.access;
Expand Down
2 changes: 1 addition & 1 deletion src/devices/nodon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Definition} from '../lib/types';
import * as exposes from '../lib/exposes';
import * as reporting from '../lib/reporting';
import extend from '../lib/extend';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
const e = exposes.presets;
import tz from '../converters/toZigbee';
import fz from '../converters/fromZigbee';
Expand Down
2 changes: 1 addition & 1 deletion src/devices/osram.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as exposes from '../lib/exposes';
import fz from '../converters/fromZigbee';
import * as legacy from '../lib/legacy';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import * as reporting from '../lib/reporting';
import extend from '../lib/extend';
import * as utils from '../lib/utils';
Expand Down
2 changes: 1 addition & 1 deletion src/devices/salus_controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Definition} from '../lib/types';
import * as exposes from '../lib/exposes';
import fz from '../converters/fromZigbee';
import tz from '../converters/toZigbee';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import * as reporting from '../lib/reporting';
import extend from '../lib/extend';
const e = exposes.presets;
Expand Down
2 changes: 1 addition & 1 deletion src/devices/securifi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Definition} from '../lib/types';
import * as exposes from '../lib/exposes';
import fz from '../converters/fromZigbee';
import tz from '../converters/toZigbee';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import * as reporting from '../lib/reporting';
const e = exposes.presets;

Expand Down
2 changes: 1 addition & 1 deletion src/devices/sengled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Definition} from '../lib/types';
import * as exposes from '../lib/exposes';
import fz from '../converters/fromZigbee';
import tz from '../converters/toZigbee';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import * as reporting from '../lib/reporting';
const e = exposes.presets;

Expand Down
2 changes: 1 addition & 1 deletion src/devices/sylvania.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Definition} from '../lib/types';
import * as exposes from '../lib/exposes';
import fz from '../converters/fromZigbee';
import * as legacy from '../lib/legacy';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import * as reporting from '../lib/reporting';
import extend from '../lib/extend';
import * as ledvance from '../lib/ledvance';
Expand Down
2 changes: 1 addition & 1 deletion src/devices/tuya.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as exposes from '../lib/exposes';
import * as legacy from '../lib/legacy';
import * as tuya from '../lib/tuya';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
import * as reporting from '../lib/reporting';
import extend from '../lib/extend';
import * as libColor from '../lib/color';
Expand Down
2 changes: 1 addition & 1 deletion src/devices/uhome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import fz from '../converters/fromZigbee';
import tz from '../converters/toZigbee';
import * as exposes from '../lib/exposes';
import * as reporting from '../lib/reporting';
import ota from '../lib/ota';
import * as ota from '../lib/ota';
const e = exposes.presets;

const definitions: Definition[] = [
Expand Down
Loading

0 comments on commit 0c3f1b9

Please sign in to comment.