fix Typo in package name

This commit is contained in:
Marko Oldenburg 2021-03-27 18:15:42 +01:00
parent f44373f611
commit 4f6a361c80
3 changed files with 16 additions and 15 deletions

View File

@ -84,20 +84,21 @@ sub Initialize {
my $hash = shift;
$hash->{GetFn} = 'FHEM::Tesla::Poerwall::Get';
$hash->{SetFn} = 'FHEM::Tesla::Poerwall::Set';
$hash->{DefFn} = 'FHEM::Tesla::Poerwall::Define';
$hash->{UndefFn} = 'FHEM::Tesla::Poerwall::Undef';
$hash->{NotifyFn} = 'FHEM::Tesla::Poerwall::Notify';
$hash->{RenameFn} = 'FHEM::Tesla::Poerwall::Rename';
$hash->{GetFn} = 'FHEM::Tesla::Powerwall::Get';
$hash->{SetFn} = 'FHEM::Tesla::Powerwall::Set';
$hash->{DefFn} = 'FHEM::Tesla::Powerwall::Define';
$hash->{UndefFn} = 'FHEM::Tesla::Powerwall::Undef';
$hash->{NotifyFn} = 'FHEM::Tesla::Powerwall::Notify';
$hash->{RenameFn} = 'FHEM::Tesla::Powerwall::Rename';
$hash->{AttrFn} = 'FHEM::Tesla::Poerwall::Attr';
$hash->{AttrFn} = 'FHEM::Tesla::Powerwall::Attr';
$hash->{AttrList} =
'interval '
'interval '
. 'disable:1 '
. 'devel:1 '
. 'emailaddr '
. $readingFnAttributes;
$hash->{parseParams} = 1;
return FHEM::Meta::InitMod( __FILE__, $hash );

View File

@ -1,2 +1,2 @@
UPD 2021-03-27_15:47:11 6982 FHEM/46_TeslaPowerwall2AC.pm
UPD 2021-03-27_16:41:12 28868 lib/FHEM/Tesla/Powerwall.pm
UPD 2021-03-27_18:14:46 6992 FHEM/46_TeslaPowerwall2AC.pm
UPD 2021-03-27_18:15:26 28873 lib/FHEM/Tesla/Powerwall.pm

View File

@ -52,7 +52,7 @@
##
##
package FHEM::Tesla::Poerwall;
package FHEM::Tesla::Powerwall;
use strict;
use warnings;
@ -165,9 +165,9 @@ BEGIN {
#-- Export to main context with different name
GP_Export(
qw(
Initialize
Timer_GetData
Write
Initialize
Timer_GetData
Write
)
);
@ -455,7 +455,7 @@ sub Timer_GetData {
}
InternalTimer( gettimeofday() + $hash->{INTERVAL},
'TeslaPowerwall2AC_Timer_GetData', $hash );
'Tesla_Powerwall_Timer_GetData', $hash );
Log3($name, 4,
qq(TeslaPowerwall2AC \(${name}\) - Call InternalTimer Timer_GetData));
}