fix checkDeviceState call in checkUpdate Fn
This commit is contained in:
parent
592ea1f842
commit
befc500db3
@ -277,7 +277,6 @@ sub Define($$) {
|
|||||||
|
|
||||||
$iodev = $hash->{IODev}->{NAME};
|
$iodev = $hash->{IODev}->{NAME};
|
||||||
|
|
||||||
# $hash->{VERSIONFLOWSET} = FHEM::Meta::Get( $defs{$iodev}, 'x_flowsetversion' );
|
|
||||||
$hash->{VERSIONFLOWSET} = $defs{$iodev}->{VERSIONFLOWSET};
|
$hash->{VERSIONFLOWSET} = $defs{$iodev}->{VERSIONFLOWSET};
|
||||||
|
|
||||||
my $d = $modules{AMADDevice}{defptr}{$amad_id};
|
my $d = $modules{AMADDevice}{defptr}{$amad_id};
|
||||||
@ -510,6 +509,11 @@ sub GetUpdate($) {
|
|||||||
checkDeviceState($hash);
|
checkDeviceState($hash);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
elsif ( AttrVal( $bname, 'fhemServerIP', 'not set' ) ne 'not set' ) {
|
||||||
|
|
||||||
|
Log3( $name, 1,
|
||||||
|
"AMADDevice ($name) - GetUpdate, attribut fhemServerIP not set in bridge device" );
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
Log3( $name, 4,
|
Log3( $name, 4,
|
||||||
@ -818,7 +822,6 @@ sub Set($$@) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
elsif ( lc $cmd eq 'openapp' ) {
|
elsif ( lc $cmd eq 'openapp' ) {
|
||||||
# my $app = join( ' ', @args );
|
|
||||||
my ($app,$appclass) = split( /\|/, $args[0] );
|
my ($app,$appclass) = split( /\|/, $args[0] );
|
||||||
|
|
||||||
$path .=
|
$path .=
|
||||||
@ -1689,7 +1692,7 @@ sub CreateChangeBtDeviceValue($$) {
|
|||||||
],
|
],
|
||||||
"release_status": "stable",
|
"release_status": "stable",
|
||||||
"license": "GPL_2",
|
"license": "GPL_2",
|
||||||
"version": "v4.4.7",
|
"version": "v4.4.8",
|
||||||
"author": [
|
"author": [
|
||||||
"Marko Oldenburg <leongaultier@gmail.com>"
|
"Marko Oldenburg <leongaultier@gmail.com>"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user