From 05c16f6ea71c2519d230158a10536bc5ead53399 Mon Sep 17 00:00:00 2001 From: Dennis Twardowsky Date: Sat, 4 Feb 2023 22:06:53 +0100 Subject: [PATCH] Remove unused values from config.ts --- src/config.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/config.ts b/src/config.ts index f78be26..1eaa03e 100644 --- a/src/config.ts +++ b/src/config.ts @@ -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; }