change package deklaration

This commit is contained in:
Marko Oldenburg
2019-03-15 21:41:32 +01:00
parent 7ae3eb7de9
commit 9c11fa7c87
3 changed files with 3 additions and 3 deletions

View File

@ -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},