mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 11:26:03 +00:00
36_Shelly.pm: Bugfix Version 1.21
git-svn-id: https://svn.fhem.de/fhem/trunk@17401 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
55545e4a8a
commit
899753bd5f
@ -38,7 +38,7 @@ use vars qw{%attr %defs};
|
||||
sub Log($$);
|
||||
|
||||
#-- globals on start
|
||||
my $version = "1.2";
|
||||
my $version = "1.21";
|
||||
|
||||
#-- these we may get on request
|
||||
my %gets = (
|
||||
@ -658,7 +658,7 @@ sub Shelly_Set ($@) {
|
||||
my $hascloud = $jhash->{'cloud'}{'enabled'};
|
||||
if( $hascloud ){
|
||||
my $hasconn = ($jhash->{'cloud'}{'connected'}) ? "connected" : "not connected";
|
||||
readingsBulkUpdateIfChanged($hash,"cloud","enabled($$hasconn)");
|
||||
readingsBulkUpdateIfChanged($hash,"cloud","enabled($hasconn)");
|
||||
}else{
|
||||
readingsBulkUpdateIfChanged($hash,"cloud","disabled");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user