fix export function call

This commit is contained in:
Marko Oldenburg 2021-03-27 23:20:04 +01:00
parent a1f26f462c
commit af727a1c80
2 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
UPD 2021-03-27_18:40:42 6992 FHEM/46_TeslaPowerwall2AC.pm UPD 2021-03-27_18:40:42 6992 FHEM/46_TeslaPowerwall2AC.pm
UPD 2021-03-27_22:29:33 28871 lib/FHEM/Tesla/Powerwall.pm UPD 2021-03-27_23:17:06 28859 lib/FHEM/Tesla/Powerwall.pm

View File

@ -455,7 +455,7 @@ sub Timer_GetData {
} }
InternalTimer( gettimeofday() + $hash->{INTERVAL}, InternalTimer( gettimeofday() + $hash->{INTERVAL},
'Tesla_Powerwall_Timer_GetData', $hash ); 'Powerwall_Timer_GetData', $hash );
Log3($name, 4, Log3($name, 4,
qq(TeslaPowerwall2AC \(${name}\) - Call InternalTimer Timer_GetData)); qq(TeslaPowerwall2AC \(${name}\) - Call InternalTimer Timer_GetData));
} }
@ -564,7 +564,7 @@ sub ErrorHandling {
} }
#### End Error Handling #### End Error Handling
InternalTimer( gettimeofday() + 3, 'Tesla_Powerwall_Write', $hash ) InternalTimer( gettimeofday() + 3, 'Powerwall_Write', $hash )
if ( defined( $hash->{actionQueue} ) if ( defined( $hash->{actionQueue} )
&& scalar( @{ $hash->{actionQueue} } ) > 0 ); && scalar( @{ $hash->{actionQueue} } ) > 0 );