Skip to content

Commit

Permalink
CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
MickMake committed May 9, 2023
1 parent aea8674 commit 3f78088
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 40 deletions.
45 changes: 10 additions & 35 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
## [3.0.6] - 2023-05-10
### Features

- Added extra sub-commands:
```
show ps save
show device save
show template save
show point save
show point ps-save
show point device-save
show point template-save
```

### Fixes

- HA binary_sensor not being set correctly.


## [3.0.5] - Not released


## [3.0.4] - 2023-01-10
### Features

- Now supports the Energy Dashboard of HA!


## [3.0.3] - 2022-12-23
### Features

Expand Down
10 changes: 5 additions & 5 deletions cmd/cmd_show_point.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (c *CmdShow) AttachPointPsGraph(cmd *cobra.Command) *cobra.Command {

func (c *CmdShow) AttachPointPsSave(cmd *cobra.Command) *cobra.Command {
var self = &cobra.Command{
Use: "ps-graph <ps_ids | .> <device_type | .> " + ArgsDateInterval,
Use: "ps-save <ps_ids | .> <device_type | .> " + ArgsDateInterval,
Aliases: []string{},
Annotations: map[string]string{"group": "Point"},
Short: fmt.Sprintf("Generate and save data points for a given ps_id."),
Expand Down Expand Up @@ -216,7 +216,7 @@ func (c *CmdShow) AttachPointDeviceGraph(cmd *cobra.Command) *cobra.Command {

func (c *CmdShow) AttachPointDeviceSave(cmd *cobra.Command) *cobra.Command {
var self = &cobra.Command{
Use: "device-graph <template_id> " + ArgsDateInterval,
Use: "device-save <template_id> " + ArgsDateInterval,
Annotations: map[string]string{"group": "Point"},
Short: fmt.Sprintf("Generate and save data points for a given device."),
Long: fmt.Sprintf("Generate and save data points for a given device."),
Expand Down Expand Up @@ -311,7 +311,7 @@ func (c *CmdShow) AttachPointTemplateGraph(cmd *cobra.Command) *cobra.Command {

func (c *CmdShow) AttachPointTemplateSave(cmd *cobra.Command) *cobra.Command {
var self = &cobra.Command{
Use: "template-graph <template_id> " + ArgsDateInterval,
Use: "template-save <template_id> " + ArgsDateInterval,
Annotations: map[string]string{"group": "Point"},
Short: fmt.Sprintf("Generate and save data points for a given report template."),
Long: fmt.Sprintf("Generate and save data points for a given report template."),
Expand Down Expand Up @@ -407,8 +407,8 @@ func (c *CmdShow) AttachPointSave(cmd *cobra.Command) *cobra.Command {
Use: "save " + ArgsDateInterval + " <points ...>",
Aliases: []string{},
Annotations: map[string]string{"group": "Point"},
Short: fmt.Sprintf("Get data points."),
Long: fmt.Sprintf("Get data points."),
Short: fmt.Sprintf("Get data points and save as files."),
Long: fmt.Sprintf("Get data points and save as files."),
DisableFlagParsing: false,
DisableFlagsInUseLine: false,
PreRunE: cmds.SunGrowArgs,
Expand Down

0 comments on commit 3f78088

Please sign in to comment.