Merge pull request #6 from fhem/devel

fix default value for units
This commit is contained in:
Leon Gaultier
2019-07-14 21:51:21 +02:00
committed by GitHub

View File

@ -1,4 +1,4 @@
# $Id: wundergroundAPI.pm 19250 2019-04-23 19:50:40Z loredo $ # $Id$
package wundergroundAPI; package wundergroundAPI;
use strict; use strict;
@ -127,7 +127,7 @@ sub new {
$self->{units} = ( $self->{units} = (
defined( $apioptions->{units} ) defined( $apioptions->{units} )
? $apioptions->{units} ? $apioptions->{units}
: 's' : 'm'
); );
$self->{stationId} = ( $self->{stationId} = (
@ -744,7 +744,7 @@ sub strftimeWrapper(@) {
"abstract": "Wetter API für Weather Underground" "abstract": "Wetter API für Weather Underground"
} }
}, },
"version": "v1.0.0", "version": "v1.0.1",
"author": [ "author": [
"Julian Pawlowski <julian.pawlowski@gmail.com>" "Julian Pawlowski <julian.pawlowski@gmail.com>"
], ],