Skip to content

Commit caecb01

Browse files
committed
Release 3.0.5
1 parent 6a1b570 commit caecb01

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/module.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,9 @@ export class ZigbeePlatform extends MatterbridgeDynamicPlatform {
546546
override async onChangeLoggerLevel(logLevel: LogLevel): Promise<void> {
547547
this.log.info(`Configuring zigbee2mqtt platform logger level to ${CYAN}${logLevel}${nf}`);
548548
this.log.logLevel = logLevel;
549-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
550-
this.z2m.setLogLevel(logLevel as any); // We avoid the type issue here when node-ansi-logger is not updated yet
549+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
550+
// @ts-ignore We avoid the type issue here when node-ansi-logger is not updated here but is updated in matterbridge
551+
this.z2m.setLogLevel(logLevel);
551552
for (const bridgedDevice of this.bridgedDevices) {
552553
bridgedDevice.log.logLevel = logLevel;
553554
}

0 commit comments

Comments
 (0)