Skip to content

Commit

Permalink
- bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krlaframboise committed Sep 11, 2016
1 parent fa7559b commit e1cff3f
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Aeotec Doorbell v 1.9.1
* Aeotec Doorbell v 1.9.2
* (Aeon Labs Doorbell - Model:ZW056-A)
*
* (https://community.smartthings.com/t/release-aeon-labs-aeotec-doorbell/39166/16?u=krlaframboise)
Expand All @@ -13,6 +13,10 @@
*
* Changelog:
*
* 1.9.2 (09/10/2016)
* - Bug fix that uses default volume if the volume
* argument is 0.
*
* 1.9.1 (09/04/2016)
* - Bug fix for playing track at volume.
*
Expand Down Expand Up @@ -463,6 +467,9 @@ private getTextFromTTSUrl(URI) {

//Plays the track specified as the message at the specified volume.
def playText(message, volume=null) {
if ("${volume}" == "0") {
volume = null
}
logTrace "Executing playText($message, $volume)"
return startTrack([track: message, volume: volume])
}
Expand Down

0 comments on commit e1cff3f

Please sign in to comment.