change package deklaration
This commit is contained in:
@ -669,7 +669,7 @@ sub Weather_Define($$) {
|
||||
readingsSingleUpdate( $hash, 'state', 'Initialized', 1 );
|
||||
Weather_LanguageInitialize( $hash->{LANG} );
|
||||
|
||||
my $apistring = 'FHEM::' . $api . '::Weather';
|
||||
my $apistring = $api . '::Weather';
|
||||
$hash->{fhem}->{api} = $apistring->new(
|
||||
{
|
||||
devName => $hash->{NAME},
|
||||
|
Reference in New Issue
Block a user