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

Runtime error when listing commands for a command class #413

Closed
mattludwigs opened this issue Dec 14, 2020 · 0 comments · Fixed by #456
Closed

Runtime error when listing commands for a command class #413

mattludwigs opened this issue Dec 14, 2020 · 0 comments · Fixed by #456

Comments

@mattludwigs
Copy link
Contributor

mattludwigs commented Dec 14, 2020

iex(5)> Grizzly.commands_for_command_class(Grizzly.ZWave.CommandClasses.Configuration)
** (UndefinedFunctionError) function Grizzly.ZWave.Commands.DoorConfigurationSet.new/1 is undefined (module Grizzly.ZWave.Commands.DoorConfigurationSet is not available)
    Grizzly.ZWave.Commands.DoorConfigurationSet.new([])
    (grizzly 0.15.11) lib/grizzly.ex:261: anonymous fn/2 in Grizzly.commands_for_command_class/1
    (elixir 1.11.2) lib/enum.ex:3369: Enum.filter_list/2
    (grizzly 0.15.11) lib/grizzly.ex:260: Grizzly.commands_for_command_class/

When trying to list the commands for the Configuration command class this runtime error happens

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 a pull request may close this issue.

1 participant