Goodwe-Wifi: deprecate (#15084)

This commit is contained in:
andig 2024-07-27 14:56:13 +02:00 • committed by GitHub
parent cf8f73f2b0
commit f9501e53de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -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"`

View file

@ -1,4 +1,5 @@
template: goodwe-wifi
deprecated: true
products:
- brand: GoodWe
description: