chore: align comments
This commit is contained in:
parent
1994dc20c8
commit
d4999cd28c
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ func init() {
|
|||
|
||||
//go:generate go tool decorate -f decorateGoodWeWifi -b *goodWeWiFi -r api.Meter -t "api.Battery,Soc,func() (float64, error)" -t "api.BatteryCapacity,Capacity,func() float64"
|
||||
|
||||
// TODO deprecated remove
|
||||
// TODO deprecated
|
||||
|
||||
func NewGoodWeWifiFromConfig(other map[string]any) (api.Meter, error) {
|
||||
cc := struct {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ func NewHomeAssistantFromConfig(other map[string]any) (api.Meter, error) {
|
|||
cc := struct {
|
||||
URI string
|
||||
Token_ string `mapstructure:"token"` // TODO deprecated
|
||||
Home string // TODO deprecated, backward compatibility (v0.210.x)
|
||||
Home string // TODO deprecated
|
||||
Power string
|
||||
Energy string
|
||||
Currents []string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue