Update files
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Brandon Watson 2021-12-28 18:03:51 -05:00
parent c65853220e
commit 4fd9341cea
13 changed files with 55 additions and 55 deletions

View File

@ -1,11 +1,11 @@
import { PlatformAccessory, RemoteController, Service } from "homebridge";
import HarmonyDataProvider from "../DataProviders/harmonyDataProvider";
import { IActivity } from "../Models/Config";
import HarmonyDataProvider from "../dataProviders/harmonyDataProvider";
import { IActivity } from "../models/config";
import { Platform } from "../platform";
import { ActivityService } from "../Services/activityService";
import { CommandService } from "../Services/commandService";
import { VolumeService } from "../Services/volumeService";
import callbackify from "../Util/callbackify";
import { ActivityService } from "../services/activityService";
import { CommandService } from "../services/commandService";
import { VolumeService } from "../services/volumeService";
import callbackify from "../util/callbackify";
/**
* Enum describing remote key presses from homebridge.

View File

@ -1,7 +1,7 @@
import { PlatformAccessory, Service } from "homebridge";
import HarmonyDataProvider from "../DataProviders/harmonyDataProvider";
import { IDeviceButton } from "../Models/Config";
import { HarmonyDevice } from "../Models/harmonyDevice";
import HarmonyDataProvider from "../dataProviders/harmonyDataProvider";
import { IDeviceButton } from "../models/config";
import { HarmonyDevice } from "../models/harmonyDevice";
import { Platform } from "../platform";
export class DeviceButton {

View File

@ -5,11 +5,11 @@ import {
PlatformAccessory,
Service,
} from "homebridge";
import HarmonyDataProvider from "../DataProviders/harmonyDataProvider";
import { ISequence } from "../Models/Config/sequence";
import { HarmonyDevice } from "../Models/harmonyDevice";
import HarmonyDataProvider from "../dataProviders/harmonyDataProvider";
import { ISequence } from "../models/config/sequence";
import { HarmonyDevice } from "../models/harmonyDevice";
import { Platform } from "../platform";
import { sleep } from "../Util";
import { sleep } from "../util";
export class Sequence {
private _devices: { [deviceName: string]: HarmonyDevice };

View File

@ -1,13 +1,13 @@
import { IActivity } from "../Models/Config/activity";
import { IDeviceSetupItem } from "../Models/Config/deviceSetupItem";
import { IInput, IMatrix, IOutput } from "../Models/Config/matrix";
import { RemoteKey } from "../Accessories/controlUnit";
import { IActivity } from "../models/config/activity";
import { IDeviceSetupItem } from "../models/config/deviceSetupItem";
import { IInput, IMatrix, IOutput } from "../models/config/matrix";
import { RemoteKey } from "../accessories/controlUnit";
import { EventEmitter } from "events";
import { IHub } from "../Models/Config/hub";
import { IDeviceConfig } from "../Models/Config/deviceConfig";
import { HarmonyDevice } from "../Models/harmonyDevice";
import { HarmonyHub } from "../Models/harmonyHub";
import { IConfig } from "../Models/Config";
import { IHub } from "../models/config/hub";
import { IDeviceConfig } from "../models/config/deviceConfig";
import { HarmonyDevice } from "../models/harmonyDevice";
import { HarmonyHub } from "../models/harmonyHub";
import { IConfig } from "../models/config";
import { inject, injectable } from "tsyringe";
import { Logger, Logging } from "homebridge";

View File

@ -1,10 +1,10 @@
import { Logging } from "homebridge";
import { inject } from "tsyringe";
import { IConfig, IMatrix } from "../Models/Config";
import { IDeviceConfig } from "../Models/Config/deviceConfig";
import { IHub } from "../Models/Config/hub";
import { HarmonyDevice } from "../Models/harmonyDevice";
import { HarmonyHub } from "../Models/harmonyHub";
import { IConfig, IMatrix } from "../models/config";
import { IDeviceConfig } from "../models/config/deviceConfig";
import { IHub } from "../models/config/hub";
import { HarmonyDevice } from "../models/harmonyDevice";
import { HarmonyHub } from "../models/harmonyHub";
export class HarmonyDataProvider2 {
private _matrix: IMatrix;

View File

@ -1,6 +1,6 @@
import { inject, injectable } from "tsyringe";
import { IActivityState } from "../Models/activityState";
import { IActivity } from "../Models/Config";
import { IActivityState } from "../models/activityState";
import { IActivity } from "../models/config";
@injectable()
export class StateDataProvider {

View File

@ -1,5 +1,5 @@
import { ICommand } from "./device";
import { sleep } from "../Util/sleep";
import { sleep } from "../util/sleep";
export interface IHarmonyDeviceProps {
id: string;

View File

@ -1,4 +1,4 @@
import { IActivity } from "./Config";
import { IActivity } from "./config";
export interface IActivityState {
currentActivity: IActivity;

View File

@ -1,16 +1,16 @@
import { Logging } from "homebridge";
import { inject, injectable } from "tsyringe";
import { HarmonyDataProvider2 } from "../DataProviders/harmonyDataProvider2";
import { StateDataProvider } from "../DataProviders/stateDataProvider";
import { IActivityState } from "../Models/activityState";
import { HarmonyDataProvider2 } from "../dataProviders/harmonyDataProvider2";
import { StateDataProvider } from "../dataProviders/stateDataProvider";
import { IActivityState } from "../models/activityState";
import {
IActivity,
IConfig,
IDeviceSetupItem,
IInput,
IOutput,
} from "../Models/Config";
import { HarmonyDevice } from "../Models/harmonyDevice";
} from "../models/config";
import { HarmonyDevice } from "../models/harmonyDevice";
@injectable()
export class ActivityService {

View File

@ -1,9 +1,9 @@
import { inject } from "tsyringe";
import { RemoteKey } from "../Accessories/controlUnit";
import { HarmonyDataProvider2 } from "../DataProviders/harmonyDataProvider2";
import { StateDataProvider } from "../DataProviders/stateDataProvider";
import { IConfig } from "../Models/Config";
import { HarmonyDevice } from "../Models/harmonyDevice";
import { RemoteKey } from "../accessories/controlUnit";
import { HarmonyDataProvider2 } from "../dataProviders/harmonyDataProvider2";
import { StateDataProvider } from "../dataProviders/stateDataProvider";
import { IConfig } from "../models/config";
import { HarmonyDevice } from "../models/harmonyDevice";
export class CommandService {
constructor(

View File

@ -1,9 +1,9 @@
import { Logging } from "homebridge";
import { inject } from "tsyringe";
import { HarmonyDataProvider2 } from "../DataProviders/harmonyDataProvider2";
import { StateDataProvider } from "../DataProviders/stateDataProvider";
import { IConfig } from "../Models/Config";
import { HarmonyDevice } from "../Models/harmonyDevice";
import { HarmonyDataProvider2 } from "../dataProviders/harmonyDataProvider2";
import { StateDataProvider } from "../dataProviders/stateDataProvider";
import { IConfig } from "../models/config";
import { HarmonyDevice } from "../models/harmonyDevice";
export class VolumeService {
constructor(

View File

@ -8,18 +8,18 @@ import {
PlatformConfig,
Service,
} from "homebridge";
import { ControlUnit, DeviceButton } from "./Accessories";
import { Sequence } from "./Accessories/sequence";
import HarmonyDataProvider from "./DataProviders/harmonyDataProvider";
import { IConfig, IControlUnit, IDeviceButton } from "./Models/Config";
import { ISequence } from "./Models/Config/sequence";
import { ControlUnit, DeviceButton } from "./accessories";
import { Sequence } from "./accessories/sequence";
import HarmonyDataProvider from "./dataProviders/harmonyDataProvider";
import { IConfig, IControlUnit, IDeviceButton } from "./models/config";
import { ISequence } from "./models/config/sequence";
import { PLATFORM_NAME, PLUGIN_NAME } from "./settings";
import { container } from "tsyringe";
import { HarmonyDataProvider2 } from "./DataProviders/harmonyDataProvider2";
import { StateDataProvider } from "./DataProviders/stateDataProvider";
import { CommandService } from "./Services/commandService";
import { ActivityService } from "./Services/activityService";
import { VolumeService } from "./Services/volumeService";
import { HarmonyDataProvider2 } from "./dataProviders/harmonyDataProvider2";
import { StateDataProvider } from "./dataProviders/stateDataProvider";
import { CommandService } from "./services/commandService";
import { ActivityService } from "./services/activityService";
import { VolumeService } from "./services/volumeService";
export class Platform implements DynamicPlatformPlugin {
constructor(