Skip to content

Commit

Permalink
return current state characteristic
Browse files Browse the repository at this point in the history
  • Loading branch information
ubreu-ergon committed Mar 10, 2024
1 parent 9f97dd4 commit d254158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platformAccessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class IBricksPlatformAccessory {
async getCurrentState(): Promise<CharacteristicValue> {
this.platform.log.debug('getCurrentState');
this.presenceState = await getPresence(this.accessory.context.server);
return this.presenceState;
return this.getPresenceState();
}

/**
Expand Down

0 comments on commit d254158

Please sign in to comment.