HEMS: add templates (#25832)
Co-authored-by: Michael Geers <michael@geers.tv> Co-authored-by: premultiply <4681172+premultiply@users.noreply.github.com>
This commit is contained in:
parent
37e96867ab
commit
06f6eb1d26
35 changed files with 985 additions and 175 deletions
|
|
@ -77,8 +77,7 @@ func init() {
|
|||
// NewEEBusFromConfig creates an EEBus meter from generic config
|
||||
func NewEEBusFromConfig(ctx context.Context, other map[string]any) (api.Meter, error) {
|
||||
var cc struct {
|
||||
Ski string
|
||||
Ip string
|
||||
Ski, Ip string
|
||||
Usage *templates.Usage
|
||||
Timeout_ time.Duration `mapstructure:"timeout"` // TODO deprecated
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue