add CommandDefMod to change the DEF then change Attribut remoteServer
This commit is contained in:
parent
d2873d1418
commit
8da0d9cb1e
@ -58,7 +58,7 @@ eval "use Encode qw(encode encode_utf8);1" or $missingModul .= "Encode ";
|
|||||||
eval "use JSON;1" or $missingModul .= "JSON ";
|
eval "use JSON;1" or $missingModul .= "JSON ";
|
||||||
|
|
||||||
|
|
||||||
my $modulversion = "4.1.99.27";
|
my $modulversion = "4.1.99.28";
|
||||||
my $flowsetversion = "4.1.99.3";
|
my $flowsetversion = "4.1.99.3";
|
||||||
|
|
||||||
|
|
||||||
@ -251,6 +251,8 @@ sub AMADDevice_Attr(@) {
|
|||||||
$hash->{PORT} = 1111;
|
$hash->{PORT} = 1111;
|
||||||
Log3 $name, 3, "AMADDevice ($name) - set remoteServer to other";
|
Log3 $name, 3, "AMADDevice ($name) - set remoteServer to other";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CommandDefMod(undef,"$name $hash->{TYPE} $hash->{HOST} $hash->{AMAD_ID} $attrVal");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user