Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix text-to-speech feature #633

Merged
merged 1 commit into from Mar 14, 2016
Merged

Fix text-to-speech feature #633

merged 1 commit into from Mar 14, 2016

Conversation

tslagle13
Copy link
Contributor

Refactor case statement so custom message works. Remove comments from input selection.

cc @bflorian @workingmonk @Yaima

Refactor case statement so custom message works. Remove comment from input selection.
@workingmonk
Copy link
Contributor

the default value was set to Custom before @Yaima made the change in december. do you want to change that too?

@tslagle13
Copy link
Contributor Author

The "bell" sound was wrapped into the default case so it would evaluate the if/else and then the last line of the default case was to set the set the sound to "bell". Splitting custom message into a separate case and making the "bell" sound default allowed the custom message to be successfully set.

@workingmonk
Copy link
Contributor

👍

tslagle13 added a commit that referenced this pull request Mar 14, 2016
@tslagle13 tslagle13 merged commit 410e9f4 into SmartThingsCommunity:staging Mar 14, 2016
b-pass pushed a commit to b-pass/SmartThingsPublic that referenced this pull request Jan 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants