mirror of
https://github.com/dtwardow/homebridge-multi-tap-switch.git
synced 2026-11-01 20:18:30 +00:00
Remove unused values from config.ts
This commit is contained in:
1 parent
9e33e62f38
commit
05c16f6ea7
1 file changed
-7
@@ -1,10 +1,5 @@
|
||||
import {PlatformConfig} from 'homebridge';
|
||||
|
||||
export interface PluginBaseConfig {
|
||||
Name: string;
|
||||
Enable: boolean;
|
||||
}
|
||||
|
||||
export interface PluginDeviceConfig {
|
||||
readonly name: string;
|
||||
readonly numberConfiguredScenes: number;
|
||||
@@ -15,12 +10,10 @@ export interface PluginDeviceConfig {
|
||||
|
||||
export class PluginConfig {
|
||||
readonly Name: string;
|
||||
readonly Enable: boolean;
|
||||
readonly Devices: PluginDeviceConfig[];
|
||||
|
||||
constructor(config: PlatformConfig) {
|
||||
this.Name = config.name!;
|
||||
this.Enable = config.enable;
|
||||
|
||||
this.Devices = config.devices;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user