Skip to content

Commit

Permalink
fix: PlayTTSTwo didnt call right method
Browse files Browse the repository at this point in the history
Related to #119
  • Loading branch information
svrooij committed Jul 5, 2021
1 parent b834400 commit 7f1cdb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sonos-device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ export default class SonosDevice extends SonosDeviceBase {

const notificationOptions = await TtsHelper.TtsOptionsToNotification(options);

return await this.PlayNotification(notificationOptions);
return await this.PlayNotificationTwo(notificationOptions);
}

private async PlayNextNotification(originalState: TransportState, havePlayed?: boolean): Promise<boolean> {
Expand Down

0 comments on commit 7f1cdb0

Please sign in to comment.