Using harmony device

Still need to look up devices specific to hubs (In the case of the same device on multiple hubs)
This commit is contained in:
watsonb8
2020-01-23 09:01:14 -05:00
parent 5ddd1e1af0
commit ba1a1685ae
3 changed files with 29 additions and 70 deletions

View File

@ -26,6 +26,10 @@ export class HarmonyDevice {
public id: string;
public name: string;
public get on(): boolean {
return this._on;
}
//Define device methods
public supportsCommand(commandName: string): boolean {
let command = this._commands[commandName];