Code by Scott שאול בן ישוע
Unverified Commit 1a5dcffe authored by Brian Lowrance's avatar Brian Lowrance Committed by GitHub
Browse files

P2.0.6

* Corrected an issue with voice selection causing inability to speak
parent 62dc07d1
......@@ -5,9 +5,9 @@ definition(
description: "Let's talk about mode changes, switches, motions, and so on.",
category: "Fun & Social",
singleInstance: true,
iconUrl: "http://lowrance.cc/ST/icons/BigTalker-2.0.5.png",
iconX2Url: "http://lowrance.cc/ST/icons/BigTalker@2x-2.0.5.png",
iconX3Url: "http://lowrance.cc/ST/icons/BigTalker@2x-2.0.5.png")
iconUrl: "http://lowrance.cc/ST/icons/BigTalker-2.0.6.png",
iconX2Url: "http://lowrance.cc/ST/icons/BigTalker@2x-2.0.6.png",
iconX3Url: "http://lowrance.cc/ST/icons/BigTalker@2x-2.0.6.png")
preferences {
page(name: "pageStart")
......@@ -2288,13 +2288,13 @@ def adjustWeatherPhrase(phraseIn){
def Talk(appname, phrase, customSpeechDevice, volume, resume, personality, voice, evt){
def myDelay = 100
def myVoice = settings?.speechVoice
if (myVoice == "" || myVoice == null) { myVoice = "Salli" }
if (myVoice == "" || myVoice == null) { myVoice = "Salli(en-us)" }
if (!(voice == "" || voice == null)) {
myVoice = voice
myVoice = myVoice.replace("(en-us)","")
myVoice = myVoice.replace("(en-gb)","")
myVoice = myVoice.replace("(es-us)","")
}
myVoice = myVoice.replace("(en-us)","")
myVoice = myVoice.replace("(en-gb)","")
myVoice = myVoice.replace("(es-us)","")
if (state.speechDeviceType == "capability.musicPlayer") {
myDelay = TalkQueue(appname, phrase, customSpeechDevice, volume, resume, personality, voice, evt)
state.lastTalkTime = now()
......@@ -3553,5 +3553,5 @@ def LOGERROR(txt){
}
def setAppVersion(){
state.appversion = "P2.0.5"
state.appversion = "P2.0.6"
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment