Skip to content

Commit

Permalink
Merge pull request #14 from bassrock/node-flair-bump
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock authored Nov 2, 2020
2 parents 91782bb + 0b712dc commit 071b4a3
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 64 deletions.
76 changes: 22 additions & 54 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
],
"dependencies": {
"class-transformer": "^0.3.1",
"flair-api-ts": "0.0.16",
"flair-api-ts": "1.0.6",
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
Expand Down
4 changes: 1 addition & 3 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import {PLATFORM_NAME, PLUGIN_NAME} from './settings';
import {FlairPuckPlatformAccessory} from './puckPlatformAccessory';
import {FlairVentPlatformAccessory} from './ventPlatformAccessory';
import {FlairRoomPlatformAccessory} from './roomPlatformAccessory';
import Client from 'flair-api-ts/lib/client';
import {Puck, Vent, Room, Structure, FlairMode, StructureHeatCoolMode} from 'flair-api-ts/lib/client/models';
import {Model} from 'flair-api-ts/lib/client/models/model';
import {Puck, Vent, Room, Structure, FlairMode, StructureHeatCoolMode, Client, Model} from 'flair-api-ts';
import {plainToClass} from 'class-transformer';
import {getRandomIntInclusive} from './utils';

Expand Down
3 changes: 1 addition & 2 deletions src/puckPlatformAccessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import type {
} from 'homebridge';

import {FlairPlatform} from './platform';
import {Puck} from 'flair-api-ts/lib/client/models';
import Client from 'flair-api-ts/lib/client';
import {Puck, Client} from 'flair-api-ts';
import {getRandomIntInclusive} from './utils';

/**
Expand Down
3 changes: 1 addition & 2 deletions src/roomPlatformAccessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import {
} from 'homebridge';

import {FlairPlatform} from './platform';
import Client from 'flair-api-ts/lib/client';
import {FlairMode, Room, Structure, StructureHeatCoolMode} from 'flair-api-ts/lib/client/models';
import {FlairMode, Room, Structure, StructureHeatCoolMode, Client} from 'flair-api-ts';
import {getRandomIntInclusive} from './utils';

/**
Expand Down
3 changes: 1 addition & 2 deletions src/ventPlatformAccessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import type {
} from 'homebridge';
import {CharacteristicEventTypes} from 'homebridge';
import {FlairPlatform} from './platform';
import Client from 'flair-api-ts/lib/client';
import {Vent} from 'flair-api-ts/lib/client/models';
import {Vent, Client} from 'flair-api-ts';
import {getRandomIntInclusive} from './utils';

enum AccessoryType {
Expand Down

0 comments on commit 071b4a3

Please sign in to comment.