From 54de0dd66b35446fb415c4bc8650afbfed47c138 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sun, 15 Oct 2017 12:48:26 +0200 Subject: [PATCH] fix crash typo --- 46_TeslaPowerwall2AC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/46_TeslaPowerwall2AC.pm b/46_TeslaPowerwall2AC.pm index 1a7bfe7..98679b2 100644 --- a/46_TeslaPowerwall2AC.pm +++ b/46_TeslaPowerwall2AC.pm @@ -303,7 +303,7 @@ sub TeslaPowerwall2AC_GetData($) { my $uri = $host . ':' . $port . '/api/' . $paths{$path}; - readingsSingleUpdate($hash,'state','fetch data - ' . sclara(@{$hash->{actionQueue}}) . ' paths in actionQueue',1); + readingsSingleUpdate($hash,'state','fetch data - ' . scalar(@{$hash->{actionQueue}}) . ' paths in actionQueue',1); HttpUtils_NonblockingGet( {