mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
48_MieleAtHome: v1.1.1 - fix autocreate, thanks to mlau and JoWiemann
git-svn-id: https://svn.fhem.de/fhem/trunk@25042 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8f6aa2d5c5
commit
afab3fab04
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 48_MieleAtHome: fix but in autocreate
|
||||
- feature: 32_withings: added vascularAge reading
|
||||
- feature: 49_SSCamSTRM: new setter snap
|
||||
- feature: 02_RSS: support for more than one directory for background
|
||||
|
@ -35,7 +35,7 @@ use Encode qw(encode_utf8);
|
||||
use List::Util qw[min max];
|
||||
use JSON;
|
||||
|
||||
my $version = "1.1.0";
|
||||
my $version = "1.1.1";
|
||||
|
||||
my $MAH_hasMimeBase64 = 1;
|
||||
|
||||
@ -387,7 +387,7 @@ sub MAH_SetFn($$@)
|
||||
return undef;
|
||||
}
|
||||
elsif( $cmd eq 'autocreate' ) {
|
||||
return "autocreate needs a valid ACCESS_TOKEN, please try again" if (MAH_getAccessToken($hash) == "");
|
||||
return "autocreate needs a valid ACCESS_TOKEN, please try again" if (MAH_getAccessToken($hash) eq "");
|
||||
return "use $cmd without arguments" if(@args != 0);
|
||||
InternalTimer(gettimeofday()+0, "MAH_autocreate", $hash);
|
||||
return undef;
|
||||
|
Loading…
x
Reference in New Issue
Block a user