From 7140d0ce869431e65bfdb16055bfc4e4751f3e4a Mon Sep 17 00:00:00 2001 From: andig Date: Thu, 31 Dec 2020 11:29:03 +0100 Subject: [PATCH] Fix typo --- provider/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/helper.go b/provider/helper.go index ab70f22d1..2273185bd 100644 --- a/provider/helper.go +++ b/provider/helper.go @@ -6,7 +6,7 @@ import ( "github.com/andig/evcc/util" ) -// setFormattedValue formats a message template of returns the value formatted as %v is template is empty +// setFormattedValue formats a message template or returns the value formatted as %v if the message template is empty func setFormattedValue(message, param string, v interface{}) (string, error) { if message == "" { return fmt.Sprintf("%v", v), nil