Skip to content

Commit

Permalink
Merge pull request #247 from MiSchroe/MiSchroe/issue246
Browse files Browse the repository at this point in the history
  • Loading branch information
MiSchroe authored Oct 1, 2024
2 parents d9c0233 + 565eab3 commit e80da4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ The values of the state provide multiple manipulation modes:
### __WORK IN PROGRESS__

- (Michael Schroeder) [#224](https://github.com/MiSchroe/ioBroker.klf200/issues/224) Fixed timeout error during adapter start in some special cases.
- (Michael Schroeder) [#246](https://github.com/MiSchroe/ioBroker.klf200/issues/246) Fixed an issue that logged the same log entry multiple times.
- (Michael Schroeder) [#210](https://github.com/MiSchroe/ioBroker.klf200/issues/210) Run integration tests against a virtual mock version of an KLF-200.
- (Michael Schroeder) [#233](https://github.com/MiSchroe/ioBroker.klf200/issues/233) Fixed findings of Adapter Checker.
- (Michael Schroeder) Upgrade dependencies
Expand Down
10 changes: 5 additions & 5 deletions src/util/propertyLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ export abstract class BaseStateChangeHandler implements StateChangedEventHandler
}

private async stateChanged(id: string, obj: ioBroker.State | null | undefined): Promise<void> {
this.Adapter.log.silly(
`State changed event received for id ${id}. New state: ${JSON.stringify(obj)}. Handled by ${
this.constructor.name
}`,
);
if (id === `${this.Adapter.namespace}.${this.StateId}`) {
this.Adapter.log.silly(
`State changed event received for id ${id}. New state: ${JSON.stringify(obj)}. Handled by ${
this.constructor.name
}`,
);
try {
await this.onStateChange(obj);
} catch (error) {
Expand Down

0 comments on commit e80da4a

Please sign in to comment.