Goodwe-Wifi: deprecate (#15084)
This commit is contained in:
parent
cf8f73f2b0
commit
f9501e53de
2 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,8 @@ func init() {
|
|||
|
||||
//go:generate go run ../cmd/tools/decorate.go -f decorateGoodWeWifi -b *goodWeWiFi -r api.Meter -t "api.Battery,Soc,func() (float64, error)"
|
||||
|
||||
// TODO deprecated remove
|
||||
|
||||
func NewGoodWeWifiFromConfig(other map[string]interface{}) (api.Meter, error) {
|
||||
cc := struct {
|
||||
capacity `mapstructure:",squash"`
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
template: goodwe-wifi
|
||||
deprecated: true
|
||||
products:
|
||||
- brand: GoodWe
|
||||
description:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue