View Source mix zwave.gen.command_class (grizzly v7.4.0)

Generates the scaffolding for a new Z-Wave Command

mix zwave.gen.command_class ThermostatMode 40

The pattern is

mix zwave.gen.command_class CommandClassModule CommandClassID

Flags:

  • --no-save - will print the generated module out to the console
  • --target-dir <path> - will generate the new module at the provided path

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions