-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
2ccf232
commit a7916d6
Showing
5 changed files
with
120 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Module {{.ModuleName}} | ||
|
||
Provide a description of the purpose of the module and any relevant information. | ||
|
||
## Model {{.ModelTriple}} | ||
|
||
Provide a description of the model and any relevant information. | ||
|
||
### Configuration | ||
The following attribute template can be used to configure this model: | ||
|
||
```json | ||
{ | ||
"attribute_1": <float>, | ||
"attribute_2": <string> | ||
} | ||
``` | ||
|
||
#### Attributes | ||
|
||
The following attributes are available for this model: | ||
|
||
| Name | Type | Inclusion | Description | | ||
|---------------|--------|-----------|----------------------------| | ||
| `attribute_1` | float | Required | Description of attribute 1 | | ||
| `attribute_2` | string | Optional | Description of attribute 2 | | ||
|
||
#### Example Configuration | ||
|
||
```json | ||
{ | ||
"attribute_1": 1.0, | ||
"attribute_2": "foo" | ||
} | ||
``` | ||
|
||
### DoCommand | ||
|
||
If your model implements DoCommand, provide an example payload of each command that is supported and the arguments that can be used. If your model does not implement DoCommand, remove this section. | ||
|
||
#### Example DoCommand | ||
|
||
```json | ||
{ | ||
"command_name": { | ||
"arg1": "foo", | ||
"arg2": 1 | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters