File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments