Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
longzheng committed Nov 18, 2024
1 parent 692a0aa commit 767f851
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/coordinator/helpers/inverterSample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { SunSpecInverterDataPoller } from '../../inverter/sunspec/index.js';
import { type InverterConfiguration } from './inverterController.js';
import { type Logger } from 'pino';
import { SmaInverterDataPoller } from '../../inverter/sma/index.js';

export class InvertersPoller extends EventEmitter<{
data: [DerSample];
}> {
Expand Down
5 changes: 4 additions & 1 deletion src/inverter/inverterDataPollerBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ export abstract class InverterDataPollerBase extends EventEmitter<{
'polled inverter data',
);
} else {
this.logger.error(inverterData.error, 'Error polling site sample');
this.logger.error(
inverterData.error,
'Error polling inverter data',
);
}

// this loop must meet sampling requirements and dynamic export requirements
Expand Down

0 comments on commit 767f851

Please sign in to comment.