mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
59_Weather: change package deklaration
git-svn-id: https://svn.fhem.de/fhem/trunk@18914 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
66742cab68
commit
6a6bfd078b
@ -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},
|
||||
|
@ -28,7 +28,7 @@
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
package FHEM::DarkSkyAPI::Weather;
|
||||
package DarkSkyAPI::Weather;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
# https://api.openweathermap.org/data/2.5/forecast?lat=[lat]&lon=[long]&APPID=[API] Forecast
|
||||
# https://openweathermap.org/weather-conditions Icons und Conditions ID's
|
||||
|
||||
package FHEM::OpenWeatherMapAPI::Weather;
|
||||
package OpenWeatherMapAPI::Weather;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user