diff --git a/src/platform.ts b/src/platform.ts index cb3841f..21932c2 100644 --- a/src/platform.ts +++ b/src/platform.ts @@ -25,12 +25,6 @@ export class ExampleHomebridgePlatform implements DynamicPlatformPlugin { this.log.debug('Finished initializing platform:', this.config.name); - // Homebridge 1.8.0 introduced a `log.success` method that can be used to log success messages - // For users that are on a version prior to 1.8.0, we need a 'polyfill' for this method - if (!log.success) { - log.success = log.info; - } - // When this event is fired it means Homebridge has restored all cached accessories from disk. // Dynamic Platform plugins should only register new accessories after this event was fired, // in order to ensure they weren't added to homebridge already. This event can also be used