wundergroundAPI: fix default value for units

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19827 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2019-07-14 11:46:47 +00:00
parent 6beb3999fe
commit 7eb9cb42b6

View File

@ -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>"
], ],