Skip to content

Commit

Permalink
fix(ignore): set zhc logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Feb 3, 2024
1 parent a678a1c commit f83709d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import utils from './util/utils';
import stringify from 'json-stable-stringify-without-jsonify';
import assert from 'assert';
import bind from 'bind-decorator';
import * as zhc from 'zigbee-herdsman-converters';

// Extensions
import ExtensionFrontend from './extension/frontend';
Expand Down Expand Up @@ -91,6 +92,8 @@ export class Controller {
/* istanbul ignore next */
settings.get().advanced.soft_reset_timeout !== 0 && new ExtensionSoftReset(...this.extensionArgs),
].filter((n) => n);

zhc.setLogger(logger);
}

async start(): Promise<void> {
Expand Down

0 comments on commit f83709d

Please sign in to comment.