mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 04:36:02 +00:00
00_MQTT2_SERVER.pm: remove publish warning (Forum #126891)
git-svn-id: https://svn.fhem.de/fhem/trunk@25870 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d393494791
commit
6bccfb0085
@ -228,12 +228,12 @@ MQTT2_SERVER_Set($@)
|
||||
my $val = join(" ", @a);
|
||||
readingsSingleUpdate($hash, "lastPublish", "$tp:$val", 1);
|
||||
MQTT2_SERVER_doPublish($hash->{CL}, $hash, $tp, $val, $retain);
|
||||
}
|
||||
|
||||
if($a[0] eq "clearRetain") {
|
||||
} elsif($a[0] eq "clearRetain") {
|
||||
my $rname = AttrVal($hash->{NAME}, "hideRetain", 0) ? "RETAIN" : ".RETAIN";
|
||||
delete($hash->{READINGS}{$rname});
|
||||
delete($hash->{retain});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user