From af7684b9019e0458d5905c1fc1b1d9cbe422469e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=B6hmke?= Date: Fri, 25 Jun 2021 14:59:10 +0200 Subject: [PATCH] changes based on review --- README.md | 3 ++- provider/sma.go | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0f0af17c2b..f1f0b3dfde 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ EVCC is an extensible EV Charge Controller with PV integration implemented in [G - [MQTT (read/write)](#mqtt-readwrite) - [HTTP (read/write)](#http-readwrite) - [Websocket (read only)](#websocket-read-only) + - [SMA/Speedwire (read only)](#smaspeedwire-read-only) - [Javascript (read/write)](#javascript-readwrite) - [Shell Script (read/write)](#shell-script-readwrite) - [Calc (read only)](#calc-read-only) @@ -460,7 +461,7 @@ uri: 192.168.4.51 # alternative to serial serial: 123456 # alternative to uri value: ActivePowerPlus # ID of value to read password: "0000" # optional (default: 0000) -interface: "eth0" # optional +interface: eth0 # optional scale: 1 # optional scale factor for value ``` diff --git a/provider/sma.go b/provider/sma.go index a8a9d01468..906d3c5ac3 100644 --- a/provider/sma.go +++ b/provider/sma.go @@ -69,8 +69,6 @@ func NewSMAFromConfig(other map[string]interface{}) (IntProvider, error) { return provider, err } -var _ FloatProvider = (*Mqtt)(nil) - // FloatGetter creates handler for float64 func (p *SMA) FloatGetter() func() (float64, error) { return func() (float64, error) {