fix comma bug

This commit is contained in:
Marko Oldenburg 2019-10-02 14:05:41 +02:00
parent 47a1f7006b
commit 4ff61d185d

View File

@ -525,7 +525,7 @@ sub ErrorHandling($$$) {
#### End Error Handling #### End Error Handling
InternalTimer( gettimeofday() + 3, InternalTimer( gettimeofday() + 3,
'TeslaPowerwall2AC_Write', $hash ); 'TeslaPowerwall2AC_Write', $hash )
if ( defined( $hash->{actionQueue} ) if ( defined( $hash->{actionQueue} )
and scalar( @{ $hash->{actionQueue} } ) > 0 ); and scalar( @{ $hash->{actionQueue} } ) > 0 );