First pass done but untested

This commit is contained in:
watsonb8
2020-01-23 09:28:59 -05:00
parent ba1a1685ae
commit ec0c857c97
3 changed files with 29 additions and 14 deletions

View File

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