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

Insteon: Redesign Voice Command Creation #236

Merged
merged 4 commits into from
Jul 31, 2013

Conversation

krkeegan
Copy link
Collaborator

  • Created get_voice_cmds routine which returns a hash of available voice commands for each device type.
  • Moved all voice commands out of Insteon.pm into more appropriate classes
  • Added some new unique device voice commands

This design is much more pleasurable to work with and much less confusing. All prior voice commands were kept, although a few of them have been broken for a little while.

This fixes issue #181

krkeegan added 4 commits July 19, 2013 17:11
Generate_voice_commands in Insteon.pm now calls get_voice_cmds for each object.
get_voice_cmds is written to be inherited and modified by higher level objects
This allows for unique voice commands to be added to objects in their respective class files without messing with the base Insteon.pm file.

This commit merely copied over the voice commands as they existed before with little to no changes in the voice command design.

Fixes hollie#181
Moved update_flags routine to KeyPadLinc classes
Added unique voice commands
krkeegan added a commit that referenced this pull request Jul 31, 2013
Insteon: Redesign Voice Command Creation
@krkeegan krkeegan merged commit 049fe85 into hollie:master Jul 31, 2013
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.

1 participant