2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-05 08:20:23 +00:00

bugfix: 30_MilightBridge: suppress protocol change message on startup

git-svn-id: https://svn.fhem.de/fhem/trunk@10969 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markus-m 2016-03-01 18:21:01 +00:00
parent 7febfa7725
commit 97a7a59a97
2 changed files with 3 additions and 1 deletions

View File

@ -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: 30_MilightBridge: suppress protocol change message on startup
- bugfix: 74_Unifi.pm: Changed unsupported character for AP and UC readings
from hash to hyphen.
- feature 49_SSCAM: enhanced command runView by option "link_open" to

View File

@ -173,8 +173,9 @@ sub MilightBridge_Attr($$$$) {
{
if (($value eq "tcp" || $value eq "udp"))
{
my $protocolchanged = (defined($attr{$name}{"protocol"}) && $attr{$name}{"protocol"} ne $value);
$attr{$name}{"protocol"} = $value;
return "You need to restart fhem or modify to enable new protocol.";
return "You need to restart fhem or modify to enable new protocol." if($protocolchanged);
}
else
{